From fdacc40b5f6b3e709117df36c80d33200de2bbb6 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 24 Sep 2016 13:51:53 -0400 Subject: [PATCH] Fix wrong data type --- mod/ping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5