X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-refbanner.php;h=174f837e97e8060a0eb26204ae6bd4fea60ebef0;hp=1d0171b880d2eb73fd82ba20f22299ce1c07d42c;hb=0a69b4e17157eda9b6e1c70ff494292ccf8cbbd0;hpb=215d0d0d066ee2924ec8fa4b8efe6bf93358ad6f diff --git a/inc/modules/admin/what-refbanner.php b/inc/modules/admin/what-refbanner.php index 1d0171b880..174f837e97 100644 --- a/inc/modules/admin/what-refbanner.php +++ b/inc/modules/admin/what-refbanner.php @@ -86,11 +86,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