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:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user