X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-email_details.php;h=182525c71aa87708d772c24d1ffac8bd32457eba;hb=ea6cf3578750b2697b45cab74725396962b56ceb;hp=09e6922b4df5b3bb21d7de858a6382a476d05052;hpb=94ea523728586a4b3b1620f0531952a65d0b9e8c;p=mailer.git diff --git a/inc/modules/admin/what-email_details.php b/inc/modules/admin/what-email_details.php index 09e6922b4d..182525c71a 100644 --- a/inc/modules/admin/what-email_details.php +++ b/inc/modules/admin/what-email_details.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -46,7 +46,7 @@ addYouAreHereLink('admin', __FILE__); // Is 'sql_patches' updated? if (!isExtensionInstalledAndNewer('sql_patches', '0.7.4')) { // No, abort here - loadTemplate('admin_settings_saved', false, generateExtensionOutdatedMessage('sql_patches', '0.7.4')); + displayMessage(generateExtensionOutdatedMessage('sql_patches', '0.7.4')); return false; } // END - if @@ -136,7 +136,9 @@ if (!isGetRequestParameterSet('mid')) { // Run SQL query for normal mails $result_list = SQL_QUERY($sql, __FILE__, __LINE__); -if ((!empty($SQL2)) && (empty($WHO))) $result_bonus = SQL_QUERY($SQL2, __FILE__, __LINE__); +if ((!empty($SQL2)) && (empty($WHO))) { + $result_bonus = SQL_QUERY($SQL2, __FILE__, __LINE__); +} // END - if // Calculate pages $numPages = '0'; @@ -227,7 +229,7 @@ if ((isExtensionActive('bonus')) && (empty($WHO))) { if ($MAIL === false) { // No mail orders fond - loadTemplate('admin_settings_saved', false, '{--ADMIN_NO_MAILS_IN_POOL--}'); + displayMessage('{--ADMIN_NO_MAILS_IN_POOL--}'); } // END - if // [EOF]