fix register.php feed output

This commit is contained in:
Andrew Dolgov 2011-11-09 18:28:54 +04:00
parent 268a06dc6a
commit 410c0b3a01
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
$result = db_query($link, "SELECT COUNT(*) AS cu FROM ttrss_users");
$num_users = db_fetch_result($result, 0, "cu");
$num_users -= REG_MAX_USERS;
$num_users = REG_MAX_USERS - $num_users;
if ($num_users < 0) $num_users = 0;
$reg_suffix = "enabled";
} else {