1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 18:15:56 +00:00

pluginhost: allow html tags in plugin storage

This commit is contained in:
Andrew Dolgov
2013-05-27 14:03:14 +04:00
parent df2655e015
commit 14c84904fe

View File

@@ -274,7 +274,8 @@ class PluginHost {
if (!isset($this->storage[$plugin])) if (!isset($this->storage[$plugin]))
$this->storage[$plugin] = array(); $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) { if ($this->dbh->num_rows($result) != 0) {
$this->dbh->query("UPDATE ttrss_plugin_storage SET content = '$content' $this->dbh->query("UPDATE ttrss_plugin_storage SET content = '$content'