From 410c0b3a01b497cfc4349e4a8d13626051ab9d26 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 9 Nov 2011 18:28:54 +0400 Subject: [PATCH] fix register.php feed output --- register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5