aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index b8cce4b41..af5504a19 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -347,9 +347,12 @@ function zot_gethub($arr) {
dbesc($arr['url']),
dbesc($arr['url_sig'])
);
- if($r && count($r))
+ if($r && count($r)) {
+ logger('zot_gethub: found', LOGGER_DEBUG);
return $r[0];
+ }
}
+ logger('zot_gethub: not found', LOGGER_DEBUG);
return null;
}