diff options
author | Andrew Dolgov <[email protected]> | 2013-05-07 01:34:49 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-07 01:34:49 -0700 |
commit | a4fd183b5853867a9293dba438512d8400e6b65e (patch) | |
tree | 9776db47df16c7daa91f7a0e2c257031be75d33e /classes/pluginhost.php | |
parent | 75933cf00d4331fd27821af03cadbb2e7c83da79 (diff) | |
parent | 6f7798b6434f5ef6073447998c436901b507e3df (diff) |
Merge pull request #180 from rlerdorf/master
Fix some bugs found by static analysis
Diffstat (limited to 'classes/pluginhost.php')
-rw-r--r-- | classes/pluginhost.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 8e2aefcf1..bc5dc96be 100644 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -186,7 +186,7 @@ class PluginHost { } } - function del_handler($handler, $method) { + function del_handler($handler, $method, $sender) { $handler = str_replace("-", "_", strtolower($handler)); $method = strtolower($method); @@ -252,8 +252,6 @@ class PluginHost { function load_data($force = false) { if ($this->owner_uid) { - $plugin = $this->dbh->escape_string($plugin); - $result = $this->dbh->query("SELECT name, content FROM ttrss_plugin_storage WHERE owner_uid = '".$this->owner_uid."'"); |