From 14c84904fe8541a7ad4a91abfe28086f2ffde7c2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 27 May 2013 14:03:14 +0400 Subject: [PATCH] pluginhost: allow html tags in plugin storage --- classes/pluginhost.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' -- 2.39.5