Merge pull request #1766 from f0o/sql-update-hotfix

Remain PHP Backwards compatibility
This commit is contained in:
Paul Gear
2015-08-26 19:32:58 +10:00
+2 -2
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";
}