aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-21 20:08:10 -0800
committerfriendica <info@friendica.com>2015-01-21 20:08:10 -0800
commit76fe9dc7023f6d67c19770b46ed639c56bc0ff06 (patch)
tree9b37daed00b406fd857a4534f4772fc30d21ca7f
parentb946ac63a17ce95aa80d016ca4c2195ec8d7498a (diff)
downloadvolse-hubzilla-76fe9dc7023f6d67c19770b46ed639c56bc0ff06.tar.gz
volse-hubzilla-76fe9dc7023f6d67c19770b46ed639c56bc0ff06.tar.bz2
volse-hubzilla-76fe9dc7023f6d67c19770b46ed639c56bc0ff06.zip
zot_finger second arg is optional but function declaration didn't specify this - causes issue with check_upstream_directory
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 384769d61..3d92f7824 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -176,7 +176,7 @@ function zot_zot($url,$data) {
*/
-function zot_finger($webbie,$channel,$autofallback = true) {
+function zot_finger($webbie,$channel = null,$autofallback = true) {
if(strpos($webbie,'@') === false) {