summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-27 14:03:14 +0400
committerAndrew Dolgov <[email protected]>2013-05-27 14:03:14 +0400
commit14c84904fe8541a7ad4a91abfe28086f2ffde7c2 (patch)
treec681750e97106314058d573e5c723c4a710512cc /classes/pluginhost.php
parentdf2655e01566f3c59337a020b1d70054ff585d75 (diff)
pluginhost: allow html tags in plugin storage
Diffstat (limited to 'classes/pluginhost.php')
-rw-r--r--classes/pluginhost.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index 9ac1789f5..53adf01f9 100644
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -274,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'