PluginProbe
User Access Manager / trunk
User Access Manager vtrunk
2.3.20 2.3.19 2.3.18 2.3.17 2.3.16 2.3.15 2.3.14 2.3.13 trunk 0.6 0.6.1 0.6.2 0.7 0.7 Beta 0.7.0.1 0.8 0.8.0.1 0.8.0.2 0.9 0.9.1 0.9.1.1 0.9.1.2 0.9.1.3 0.9.1.4 1.0 All 136 releases
← All changes | src/Setup/Database/DatabaseHandler.php +1 -1 2.3.18trunk View file →
@@ -214,9 +214,9 @@
214 214 private function hasSiteWithOutdatedDatabase(): bool
215 215 {
216 216 foreach ($this->getActivePluginSites() as $siteId) {
217 217 $table = $this->database->getBlogPrefix($siteId) . 'options';
218 - $select = "SELECT option_value FROM $table WHERE option_name = '%s' LIMIT 1";
218 + $select = "SELECT `option_value` FROM `$table` WHERE `option_name` = '%s' LIMIT 1";
219 219 $select = $this->database->prepare($select, 'uam_db_version');
220 220 $currentDbVersion = $this->database->getVariable($select);
221 221
222 222 if ($currentDbVersion !== null