diff options
author | Andrew Dolgov <[email protected]> | 2021-01-15 08:35:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-01-15 08:35:05 +0300 |
commit | ee4b7bebe801a176155fca1561868495f292f01f (patch) | |
tree | c4401eb215f8b454694dad46abb777397f37fba8 /classes/pluginhost.php | |
parent | 3d32a5f7556dab1aaa190473823f0e5324553197 (diff) |
pluginhost: load_data: check schema last
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-x | classes/pluginhost.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 2ce20be86..f84b07251 100755 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -356,7 +356,7 @@ class PluginHost { } private function load_data() { - if (get_schema_version() > 100 && $this->owner_uid && !$this->data_loaded) { + if ($this->owner_uid && !$this->data_loaded && get_schema_version() > 100) { $sth = $this->pdo->prepare("SELECT name, content FROM ttrss_plugin_storage WHERE owner_uid = ?"); $sth->execute([$this->owner_uid]); |