aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-27 22:30:06 -0700
committerfriendica <info@friendica.com>2013-08-27 22:30:06 -0700
commite8cd3b70407b4c33d82d21cc3a470b2a58852e4f (patch)
tree5ce81f1f38aa2a6d7d2ddf69e6a8cef68e0b7728 /boot.php
parente8a0005d29244e4897ca7806f24424a8f63d1dd8 (diff)
downloadvolse-hubzilla-e8cd3b70407b4c33d82d21cc3a470b2a58852e4f.tar.gz
volse-hubzilla-e8cd3b70407b4c33d82d21cc3a470b2a58852e4f.tar.bz2
volse-hubzilla-e8cd3b70407b4c33d82d21cc3a470b2a58852e4f.zip
bring back mail list and cleanup some issues which popped out with full PHP warnings
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index fc5408887..d3226c804 100755
--- a/boot.php
+++ b/boot.php
@@ -2327,7 +2327,9 @@ function argc() {
}
function argv($x) {
- return get_app()->argv[$x];
+ if(array_key_exists($x,get_app()->argv))
+ return get_app()->argv[$x];
+ return '';
}
function dba_timer() {