X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-payments.php;h=9e002454169a6932c2a5939c645c417c1210bb14;hp=fe64ee8c488f1d8a11c16282f6e5faf4678f31f0;hb=6032b7018b83778f1592383238f4e0d28f718622;hpb=8dd0d1496c53d3befb4b1c85806a811595d398e3 diff --git a/inc/modules/admin/what-payments.php b/inc/modules/admin/what-payments.php index fe64ee8c48..9e00245416 100644 --- a/inc/modules/admin/what-payments.php +++ b/inc/modules/admin/what-payments.php @@ -40,9 +40,6 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) // Add description as navigation point ADD_DESCR("admin", basename(__FILE__)); -OPEN_TABLE("100%", "admin_content admin_content_align", ""); -global $link; - if (empty($_GET['do'])) unset($_GET['do']); if (((empty($_POST['t_wait'])) || (empty($_POST['payment']))) && (!empty($_GET['do'])) && ($_GET['do'] == "add")) { @@ -91,7 +88,7 @@ if (isset($_POST['ok'])) $result = SQL_QUERY(trim($s), __FILE__, __LINE__); if (empty($content)) { - if (SQL_AFFECTEDROWS($link, __FILE__, __LINE__) == 1) + if (SQL_AFFECTEDROWS() == 1) { $content = "".SETTINGS_SAVED.""; } @@ -208,6 +205,6 @@ if (isset($_POST['ok'])) // Form for adding new referral levels LOAD_TEMPLATE("admin_add_payment"); } -CLOSE_TABLE(); + // ?>