]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor.php
Most <em> tags replaced/removed
[mailer.git] / inc / modules / sponsor.php
index eb7297555b39c6495b97b7217ed30b9f3ba8417d..e4c2617b850c3583774394992cfa7bd8d5b59270 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software. You can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -38,7 +38,7 @@
 if (!defined('__SECURITY')) {
        die();
 } elseif ((!isExtensionActive('sponsor'))) {
-       displayMessage(generateExtensionInactiveNotInstalledMessage('sponsor'));
+       displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=sponsor%}');
        return;
 } elseif (!isSponsor()) {
        // No sponsor!
@@ -46,7 +46,7 @@ if (!defined('__SECURITY')) {
        return;
 } elseif ((!isWhatSet()) || (getWhat() == '')) {
        // Empty what value detected!
-       setWhat('welcome');
+       debug_report_bug(__FUNCTION__, __LINE__, 'what is empty.');
 }
 
 // A valid sponsor login and we are allowed to enter this module so let's