X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-send_bonus.php;h=120b6d63c37ccc93e5f08d9c4fb18fa047796018;hb=d1637dad0b2ca0e5fb411ee0843f01bfb4cc94e0;hp=0e5d9f95f36ccb6021b8f09a9d41a37bc6ca57f0;hpb=3afdce4fe00b4af570122ce7b8158ced44aec7d3;p=mailer.git diff --git a/inc/modules/admin/what-send_bonus.php b/inc/modules/admin/what-send_bonus.php index 0e5d9f95f3..120b6d63c3 100644 --- a/inc/modules/admin/what-send_bonus.php +++ b/inc/modules/admin/what-send_bonus.php @@ -41,7 +41,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); } elseif (!EXT_IS_ACTIVE('order')) { - addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'order')); + addFatalMessage(__FILE__, __LINE__, generateExtensionInactiveNotInstalledMessage('order')); return; } @@ -62,7 +62,7 @@ if (isFormSent()) { define('__OPTION_LINES', generateCategoryOptionsList(REQUEST_GET('mode'))); // Store send mode - define('__MODE', REQUEST_GET(('mode'))); + define('__MODE', REQUEST_GET('mode')); if (EXT_IS_ACTIVE('html_mail')) { // If HTML extension is active