From b1a4dc7d7ed9ae19c7f8c0cb1d706eb57872ff28 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 18 Nov 2013 01:00:04 -0800 Subject: set a default value for $webbie - it's the right thing to do. --- mod/post.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod') diff --git a/mod/post.php b/mod/post.php index 6a5c919e1..2778621d3 100644 --- a/mod/post.php +++ b/mod/post.php @@ -17,6 +17,8 @@ function post_init(&$a) { if(argc() > 1) { $webbie = argv(1); } + else + $webbie = ''; if(array_key_exists('auth',$_REQUEST)) { logger('mod_zot: auth request received.'); -- cgit v1.2.3