From: Hypolite Petovan Date: Sat, 24 Sep 2016 17:51:53 +0000 (-0400) Subject: Fix wrong data type X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fdacc40b5f6b3e709117df36c80d33200de2bbb6;p=friendica.git Fix wrong data type --- diff --git a/mod/ping.php b/mod/ping.php index da44bc52df..3f6dc730b2 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -126,7 +126,7 @@ function ping_init(&$a) { $regs = q("SELECT `contact`.`name`, `contact`.`url`, `contact`.`micro`, `register`.`created` FROM `contact` RIGHT JOIN `register` ON `register`.`uid`=`contact`.`uid` WHERE `contact`.`self`=1"); $register = count($regs); } else { - $register = "0"; + $register = 0; } $all_events = 0;