aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-20 01:35:08 -0800
committerfriendica <info@friendica.com>2014-02-20 01:35:08 -0800
commit6eb971656ef1710596084fdaa0ae3085df2c2101 (patch)
treea7dd91a9fd745af0106386a97dbc97e0d595af3e /mod
parentc219451702b2e20c100c8b2a32f4dd1f42e82768 (diff)
downloadvolse-hubzilla-6eb971656ef1710596084fdaa0ae3085df2c2101.tar.gz
volse-hubzilla-6eb971656ef1710596084fdaa0ae3085df2c2101.tar.bz2
volse-hubzilla-6eb971656ef1710596084fdaa0ae3085df2c2101.zip
believe i found the issue which was causing hundreds/thousands of identical hublocs to be created
Diffstat (limited to 'mod')
-rw-r--r--mod/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index e9f4c9f8d..b88380ff0 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -261,7 +261,7 @@ function settings_post(&$a) {
$maxreq = ((x($_POST,'maxreq')) ? intval($_POST['maxreq']) : 0);
$expire = ((x($_POST,'expire')) ? intval($_POST['expire']) : 0);
$def_group = ((x($_POST,'group-selection')) ? notags(trim($_POST['group-selection'])) : '');
- $channel_menu = ((x($_POST['channel_menu'])) ? htmlspecialchars_decode(trim($_POST['channel_menu'])) : '');
+ $channel_menu = ((x($_POST['channel_menu'])) ? htmlspecialchars_decode(trim($_POST['channel_menu']),ENT_QUOTES) : '');
$expire_items = ((x($_POST,'expire_items')) ? intval($_POST['expire_items']) : 0);
$expire_starred = ((x($_POST,'expire_starred')) ? intval($_POST['expire_starred']) : 0);