aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web/WebServer.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2016-07-27 09:31:20 +0200
committerzottel <github@zottel.net>2016-07-27 09:31:20 +0200
commite5a3179468c84ab78ffa655353bc068508e8cdfd (patch)
tree24d27705ad197ea1769f906404d6e14071f5599d /Zotlabs/Web/WebServer.php
parent11b97af250d8c5db015a736e9349f29efb6662d7 (diff)
parent672c3d7c6df2bf4667546c4376318d8684568014 (diff)
downloadvolse-hubzilla-e5a3179468c84ab78ffa655353bc068508e8cdfd.tar.gz
volse-hubzilla-e5a3179468c84ab78ffa655353bc068508e8cdfd.tar.bz2
volse-hubzilla-e5a3179468c84ab78ffa655353bc068508e8cdfd.zip
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'Zotlabs/Web/WebServer.php')
-rw-r--r--Zotlabs/Web/WebServer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Web/WebServer.php b/Zotlabs/Web/WebServer.php
index d4f3cb9ea..5bb0e08e8 100644
--- a/Zotlabs/Web/WebServer.php
+++ b/Zotlabs/Web/WebServer.php
@@ -124,7 +124,7 @@ class WebServer {
// now that we've been through the module content, see if the page reported
// a permission problem and if so, a 403 response would seem to be in order.
- if(stristr(implode("", $_SESSION['sysmsg']), t('Permission denied'))) {
+ if(is_array($_SESSION['sysmsg']) && stristr(implode("", $_SESSION['sysmsg']), t('Permission denied'))) {
header($_SERVER['SERVER_PROTOCOL'] . ' 403 ' . t('Permission denied.'));
}