]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-refbanner.php
Renamed function so it might be more understandable
[mailer.git] / inc / modules / admin / what-refbanner.php
index c2162c3f6913ff4d6abd08159fa1d49a2d438414..9bc5510cdec65608d92bed280bbf950b184202ff 100644 (file)
@@ -41,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 } // END - if
 
 // Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
 
 // Some sanity-check
 if ((!isPostRequestParameterSet('url')) || (!isPostRequestParameterSet('alternate'))) {
@@ -92,7 +92,7 @@ VALUES ('%s','%s','%s')",
        } // END - switch
 
        // Check if we have saved (updated)
-       if (SQL_AFFECTEDROWS() == 1) {
+       if (!SQL_HASZEROAFFECTED()) {
                // Updated!
                $content = '{--SETTINGS_SAVED--}';
        } else {