silverstripe-framework/i18n
Samuel Amoser 69a8836910
PATCH: Prevents calling strpos with empty needle
We happen to run into this warning:
```
[Warning] strpos(): Empty needle
Line 2618 in ./framework/i18n/i18n.php

2618    strpos($theme, (string)Config::inst()->get('SSViewer', 'theme')) === 0
```
I suggest to test the needle against emptyness before invoking strpos.
2020-08-18 15:16:07 +02:00
..
i18n.php PATCH: Prevents calling strpos with empty needle 2020-08-18 15:16:07 +02:00
i18nEntityProvider.php MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
i18nRailsYamlAdapter.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
i18nSSLegacyAdapter.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
i18nTextCollector.php NEW Add php 7.2 support 2018-01-30 16:50:32 +00:00
i18nTranslateAdapterInterface.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00