diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-20 05:30:44 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-20 05:30:44 +0300 |
commit | 45299cd7651114a1d909aaba45ad7558b1135d75 (patch) | |
tree | 54e7cca8b60319fc66835c433b338071650ced54 | |
parent | 45f6ad830e8f42cead9e07386a7c1c7c39fb5079 (diff) |
Fixing loose comparison
Related: now unit tests shouldn't trigger a MySQL query, so they should pass on scrutinizer
-rw-r--r-- | core/Db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Db.php b/core/Db.php index 8c718ceac5..521b7f205f 100644 --- a/core/Db.php +++ b/core/Db.php @@ -738,7 +738,7 @@ class Db public static function isOptimizeInnoDBSupported($version = null) { - if (empty($version)) { + if ($version === null) { $version = Db::fetchOne("SELECT VERSION()"); } |