Change check from !empty to !== null in bootstrap/yenc.php

This commit is contained in:
DariusIII
2017-09-01 15:39:04 +02:00
parent b1bb89b40b
commit ae15d3c2c0
2 changed files with 6 additions and 5 deletions
+1
View File
@@ -1,4 +1,5 @@
2017-09-01 DariusIII
* Chg: Change check from !empty to !== null in bootstrap/yenc.php
* Chg: Replace leftover references to nntmux\db\Settings with proper nntmux\db\DB
* Chg: Add predis/predis
* Chg: Update value fetching and autoloading
+5 -5
View File
@@ -32,12 +32,12 @@ if (defined('NN_INSTALLER') && NN_INSTALLER !== false) {
) {
$adapter = 'NzedbYenc';
break;
} else {
trigger_error('Your version of the php-yenc extension is out of date and will be
ignored. Please update it to use the extension.', E_USER_WARNING
);
}
case ! empty(Settings::settingValue('apps..yydecoderpath')):
trigger_error('Your version of the php-yenc extension is out of date and will be
ignored. Please update it to use the extension.', E_USER_WARNING
);
case Settings::settingValue('apps..yydecoderpath') !== null:
$adapter = 'Ydecode';
break;
default: