Skip to content

Commit

Permalink
Fix version detection on upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed May 10, 2018
1 parent d284938 commit 1a80768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galette/lib/Galette/Core/Db.php
Expand Up @@ -175,7 +175,7 @@ public function getDbVersion($check_table = false)
{
try {
if ($check_table === true) {
$exists = count($this->getTables(PREFIX_DB . 'database'));
$exists = count($this->getTables(PREFIX_DB . 'database')) === 1;
} else {
$exists = true;
}
Expand Down

0 comments on commit 1a80768

Please sign in to comment.