aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Admin
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:21:44 +0100
commitcd21519de38bb422d55fdc2d4f9ea01012f4e013 (patch)
tree5df643986f40844b158d1f26d6cf02a3452a6c6e /Zotlabs/Module/Admin
parent78040330b6be3681dd0d6fdd1d3d0960fd88bc06 (diff)
downloadvolse-hubzilla-cd21519de38bb422d55fdc2d4f9ea01012f4e013.tar.gz
volse-hubzilla-cd21519de38bb422d55fdc2d4f9ea01012f4e013.tar.bz2
volse-hubzilla-cd21519de38bb422d55fdc2d4f9ea01012f4e013.zip
do not use trim on array
Diffstat (limited to 'Zotlabs/Module/Admin')
-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'])) : '');