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]))
$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'