Some rewrites, TODOs handled:
[mailer.git] / inc / modules / admin / what-config_payouts.php
index 47b031141f4079d86d8f3573b3e215ba38465fd3..19b350a1419e5a111bc80f854c7ed114efb3f479 100644 (file)
@@ -48,7 +48,7 @@ ADD_DESCR('admin', __FILE__);
 
 if (REQUEST_ISSET_POST(('rate'))) REQUEST_SET_POST('rate', convertCommaToDot(REQUEST_POST('rate')));
 
-if ((REQUEST_ISSET_POST(('add'))) && (REQUEST_ISSET_POST(('title'))) && (REQUEST_POST('rate') > 0)) {
+if ((REQUEST_ISSET_POST('add')) && (REQUEST_ISSET_POST('title')) && (REQUEST_POST('rate') > 0)) {
        // Add new payout type
        $result = SQL_QUERY_ESC("SELECT `id` FROM `{!_MYSQL_PREFIX!}_payout_types` WHERE type='%s' LIMIT 1",
        array(REQUEST_POST('title')), __FILE__, __LINE__);