X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_points.php;h=11c547539044e670e291999fe8ed28110c8b8ba9;hb=ee3a0b42f93de7676fca549c866c1c2e6f3f0576;hp=d7fff719279351cadcde82875bea698025d58137;hpb=20741b93fd58620af677a7f1039ffd16ea6ec689;p=mailer.git
diff --git a/inc/modules/admin/what-config_points.php b/inc/modules/admin/what-config_points.php
index d7fff71927..11c5475390 100644
--- a/inc/modules/admin/what-config_points.php
+++ b/inc/modules/admin/what-config_points.php
@@ -91,10 +91,10 @@ if (isFormSent()) {
setPostRequestElement('percents', array($id => convertCommaToDot(postRequestElement('percents', $id))));
// Update entry
- SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refdepths` SET `level`=%s, `percents`=%s WHERE `id`=%s LIMIT 1",
+ SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refdepths` SET `level`=%s,`percents`=%s WHERE `id`=%s LIMIT 1",
array(bigintval($value), convertCommaToDot(postRequestElement('percents', $id)), $id), __FILE__, __LINE__);
} // END - foreach
- $message = '{--ADMIN_REFERAL_DEPTHS_SAVED--}';
+ $message = '{--ADMIN_REFERRAL_DEPTHS_SAVED--}';
break;
case 'delete':
@@ -102,7 +102,7 @@ if (isFormSent()) {
SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
} // END - foreach
- $message = '{--ADMIN_REFERAL_DEPTHS_DELETED--}';
+ $message = '{--ADMIN_REFERRAL_DEPTHS_DELETED--}';
break;
} // END - switch
@@ -152,7 +152,7 @@ WHERE
rebuildCache('config', 'config');
} else {
// Prepare failed-message
- $message = '{--SETTINGS_NOT_SAVED--}';
+ $message = '{--SETTINGS_NOT_SAVED--}';
}
// Remove SQL queries
@@ -166,7 +166,7 @@ WHERE
} // END - if
} elseif (getRequestElement('sub') == 'settings') {
// Setup some settings like direct pay and so on
- // Including new add-mode for one-time referal bonus
+ // Including new add-mode for one-time referral bonus
foreach (array('allow_direct_pay') as $entry) {
$content[$entry . '_y'] = '';
$content[$entry . '_n'] = '';
@@ -208,10 +208,10 @@ WHERE
// Load main template
loadTemplate('admin_edit_reflevel', false, $OUT);
} else {
- // Referal levels
+ // Referral levels
$result = SQL_QUERY("SELECT `id`,`level`,`percents` FROM `{?_MYSQL_PREFIX?}_refdepths` ORDER BY `level` ASC", __FILE__, __LINE__);
if (!SQL_HASZERONUMS($result)) {
- // Make referal levels editable and deletable
+ // Make referral levels editable and deletable
$OUT = '';
// List already existing categories for editing
@@ -227,7 +227,7 @@ WHERE
loadTemplate('admin_list_reflevel', false, $OUT);
}
- // Form for adding new referal levels
+ // Form for adding new referral levels
loadTemplate('admin_add_reflevel');
}
} elseif (getRequestElement('sub') == 'points') {