Remain PHP Backwards compatibility

This commit is contained in:
f0o
2015-08-26 08:44:15 +01:00
parent 35635620e1
commit 29887af376

View File

@@ -83,8 +83,8 @@ if ($handle = opendir($config['install_dir'].'/sql-schema')) {
}
asort($filelist);
if (explode('.', max($filelist), 2)[0] <= $db_rev) {
$tmp = explode('.', max($filelist), 2);
if ($tmp[0] <= $db_rev) {
if ($debug) {
echo "DB Schema already up to date.\n";
}