From e8cd3b70407b4c33d82d21cc3a470b2a58852e4f Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 27 Aug 2013 22:30:06 -0700 Subject: bring back mail list and cleanup some issues which popped out with full PHP warnings --- boot.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'boot.php') 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() { -- cgit v1.2.3