From: Andrew Dolgov Date: Mon, 27 May 2013 10:03:14 +0000 (+0400) Subject: pluginhost: allow html tags in plugin storage X-Git-Tag: 1.8~62 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=14c84904fe8541a7ad4a91abfe28086f2ffde7c2;p=tt-rss.git pluginhost: allow html tags in plugin storage --- diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 9ac1789f..53adf01f 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'