summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/pluginhost.php')
-rw-r--r--classes/pluginhost.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index bc5dc96be..53adf01f9 100644
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -36,6 +36,7 @@ class PluginHost {
const HOOK_ARTICLE_LEFT_BUTTON = 19;
const HOOK_PREFS_EDIT_FEED = 20;
const HOOK_PREFS_SAVE_FEED = 21;
+ const HOOK_FETCH_FEED = 22;
const KIND_ALL = 1;
const KIND_SYSTEM = 2;
@@ -273,7 +274,8 @@ class PluginHost {
if (!isset($this->storage[$plugin]))
$this->storage[$plugin] = array();
- $content = $this->dbh->escape_string(serialize($this->storage[$plugin]));
+ $content = $this->dbh->escape_string(serialize($this->storage[$plugin]),
+ false);
if ($this->dbh->num_rows($result) != 0) {
$this->dbh->query("UPDATE ttrss_plugin_storage SET content = '$content'