aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-03-10 21:21:44 +0100
committerMario Vavti <mario@mariovavti.com>2018-03-10 21:22:21 +0100
commitff2935e70c38987a2b6c0332d45f43a0300ac518 (patch)
tree2c43c72a9db7c9315d6a326613c41f0d82beea01
parent4baf5eab16d809977a44e7911ddcab0ff8383897 (diff)
downloadvolse-hubzilla-ff2935e70c38987a2b6c0332d45f43a0300ac518.tar.gz
volse-hubzilla-ff2935e70c38987a2b6c0332d45f43a0300ac518.tar.bz2
volse-hubzilla-ff2935e70c38987a2b6c0332d45f43a0300ac518.zip
do not use trim on array
-rw-r--r--Zotlabs/Module/Admin/Site.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Admin/Site.php b/Zotlabs/Module/Admin/Site.php
index 015c6535c..bfb9be8bd 100644
--- a/Zotlabs/Module/Admin/Site.php
+++ b/Zotlabs/Module/Admin/Site.php
@@ -38,7 +38,7 @@ class Site {
$site_sellpage = ((x($_POST,'site_sellpage')) ? notags(trim($_POST['site_sellpage'])) : '');
$site_location = ((x($_POST,'site_location')) ? notags(trim($_POST['site_location'])) : '');
$frontpage = ((x($_POST,'frontpage')) ? notags(trim($_POST['frontpage'])) : '');
- $firstpage = ((x(trim($_POST,'firstpage'))) ? notags(trim($_POST['firstpage'])) : 'profiles');
+ $firstpage = ((x($_POST,'firstpage')) ? notags(trim($_POST['firstpage'])) : 'profiles');
$mirror_frontpage = ((x($_POST,'mirror_frontpage')) ? intval(trim($_POST['mirror_frontpage'])) : 0);
$directory_server = ((x($_POST,'directory_server')) ? trim($_POST['directory_server']) : '');
$allowed_sites = ((x($_POST,'allowed_sites')) ? notags(trim($_POST['allowed_sites'])) : '');