Skip to content

Commit

Permalink
Merge pull request #1766 from f0o/sql-update-hotfix
Browse files Browse the repository at this point in the history
Remain PHP Backwards compatibility
  • Loading branch information
paulgear committed Aug 26, 2015
2 parents 3563562 + 29887af commit 83af24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/sql-schema/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
}

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";
}
Expand Down

0 comments on commit 83af24c

Please sign in to comment.