From: Andrew Dolgov Date: Wed, 9 Nov 2011 14:28:54 +0000 (+0400) Subject: fix register.php feed output X-Git-Tag: 1.5.7~39 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=410c0b3a01b497cfc4349e4a8d13626051ab9d26;p=tt-rss.git fix register.php feed output --- diff --git a/register.php b/register.php index 3198095a..9fd75ffc 100644 --- a/register.php +++ b/register.php @@ -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 {