Script rewritten to setConfigEntry(), getConfig() and incrementConfigEntry()
[mailer.git] / inc / modules / admin / what-list_user.php
index 5dd98324190aa360eda3294b8ce5c2407a625de0..9e5e57b1923df9cd260a5857576b2ffbadf4c0c1 100644 (file)
@@ -237,7 +237,7 @@ LIMIT 1",
 
        // Calculate page count (0.5 fixes a bug with page count)
        if (getConfig('user_limit') == 0) {
-               $_CONFIG['user_limit'] = 100;
+               setConfigEntry('user_limit', 100);
                LOAD_TEMPLATE("admin_settings_saved", false, EXTENSION_WARNING_USER_LIMIT);
        } // END - if