Fix wrong data type
This commit is contained in:
parent
fac2d9a880
commit
fdacc40b5f
|
@ -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");
|
$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);
|
$register = count($regs);
|
||||||
} else {
|
} else {
|
||||||
$register = "0";
|
$register = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$all_events = 0;
|
$all_events = 0;
|
||||||
|
|
Loading…
Reference in a new issue