X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-refbanner.php;h=7cbaf8b46e41dcb15ad6f95b1a52e7980ac8b22f;hp=1d0171b880d2eb73fd82ba20f22299ce1c07d42c;hb=09f5758c42a33a56bdd461c946ffe759a59c54aa;hpb=57227d33e870ec5cd271209c4a978a52b45c2dd6
diff --git a/inc/modules/admin/what-refbanner.php b/inc/modules/admin/what-refbanner.php
index 1d0171b880..7cbaf8b46e 100644
--- a/inc/modules/admin/what-refbanner.php
+++ b/inc/modules/admin/what-refbanner.php
@@ -18,6 +18,7 @@
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -86,11 +87,16 @@ VALUES ('%s','%s','%s')",
break;
}
+ // Check if we have saved (updated)
if (SQL_AFFECTEDROWS() == 1) {
+ // Updated!
$content = getMessage('SETTINGS_SAVED');
} else {
- $content = "{--SETTINGS_NOT_SAVED--}";
+ // Nothing has been updated
+ $content = '{--SETTINGS_NOT_SAVED--}';
}
+
+ // Display message
loadTemplate('admin_settings_saved', false, $content);
} elseif ((countPostSelection() > 0) && (isPostRequestParameterSet('edit'))) {
// Edit banner