pluginhost: allow html tags in plugin storage

master
Andrew Dolgov 12 years ago
parent df2655e015
commit 14c84904fe

@ -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'

Loading…
Cancel
Save