]> git.wh0rd.org - tt-rss.git/commitdiff
pluginhost: allow html tags in plugin storage
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 27 May 2013 10:03:14 +0000 (14:03 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 27 May 2013 10:03:14 +0000 (14:03 +0400)
classes/pluginhost.php

index 9ac1789f562e39d3cdda0d59c30f7200b8891f6e..53adf01f9ff8b098c32602c474c732ee37eb0061 100644 (file)
@@ -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'