if ((REQUEST_POST('pay_min_count') == 0) || (!REQUEST_ISSET_POST(('pay_min_count')))) REQUEST_UNSET_POST(('add'));
if (!REQUEST_ISSET_POST(('pay_currency'))) REQUEST_UNSET_POST(('add'));
-} elseif ((REQUEST_ISSET_POST(('edit'))) || (REQUEST_ISSET_POST(('del'))) || (REQUEST_ISSET_POST(('change'))) || (REQUEST_ISSET_POST(('remove')))) {
+} elseif ((REQUEST_ISSET_POST('edit')) || (REQUEST_ISSET_POST('del')) || (REQUEST_ISSET_POST(('change'))) || (REQUEST_ISSET_POST(('remove')))) {
// Check if at least one entry was selected
if (!REQUEST_ISSET_POST(('id'))) {
// Nothing selected for editing / deleting???
- REQUEST_UNSET_POST(('edit'));
- REQUEST_UNSET_POST(('del'));
+ REQUEST_UNSET_POST('edit');
+ REQUEST_UNSET_POST('del');
REQUEST_UNSET_POST(('change'));
REQUEST_UNSET_POST(('remove'));
} elseif (REQUEST_ISSET_POST(('change'))) {
// Output message
LOAD_TEMPLATE("admin_settings_saved", false, $MSG);
-} elseif ((REQUEST_ISSET_POST(('edit'))) || (REQUEST_ISSET_POST(('del')))) {
+} elseif ((REQUEST_ISSET_POST('edit')) || (REQUEST_ISSET_POST('del'))) {
// Load all data
$OUT = ""; $SW = 2;
foreach (REQUEST_POST('id') as $id => $sel) {
'curr' => htmlspecialchars($curr)
);
- if (REQUEST_ISSET_POST(('edit'))) {
+ if (REQUEST_ISSET_POST('edit')) {
// Edit entry
$OUT .= LOAD_TEMPLATE("admin_list_sponsor_pay_edit_row", true, $content);
} else {
define('__SPONSOR_ROWS', $OUT);
// Load main template depending on mode (edit/delete)
- if (REQUEST_ISSET_POST(('edit'))) {
+ if (REQUEST_ISSET_POST('edit')) {
// Load main edit template
LOAD_TEMPLATE("admin_list_sponsor_pay_edit");
} else {