aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-18 01:00:04 -0800
committerfriendica <info@friendica.com>2013-11-18 01:00:04 -0800
commitb1a4dc7d7ed9ae19c7f8c0cb1d706eb57872ff28 (patch)
tree51b6af58c265923ebfc5c3c9eb16e72f121a85ed
parent718f69c6fc090752238bb64e7486d6a3eef5b518 (diff)
downloadvolse-hubzilla-b1a4dc7d7ed9ae19c7f8c0cb1d706eb57872ff28.tar.gz
volse-hubzilla-b1a4dc7d7ed9ae19c7f8c0cb1d706eb57872ff28.tar.bz2
volse-hubzilla-b1a4dc7d7ed9ae19c7f8c0cb1d706eb57872ff28.zip
set a default value for $webbie - it's the right thing to do.
-rw-r--r--mod/post.php2
1 files changed, 2 insertions, 0 deletions
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.');