]> git.mxchange.org Git - mailer.git/blobdiff - inc/language-functions.php
Further fixes for all resets
[mailer.git] / inc / language-functions.php
index c85cf52faf1c681752e653ad76c80d7472a77cdf..249812c7102c781dfe4238dc6e6d2ed25fb4b71d 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -41,7 +41,6 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // "Getter" for language strings
-// @TODO Rewrite all language constants to this function.
 function getMessage ($messageId) {
        // Default is not found
        $return = '!' . $messageId . '!';
@@ -356,10 +355,11 @@ function isMessageMasked ($messageId, $strict = TRUE) {
        } // END - if
 
        // Now simply check it
-       $masked = isInString('%', getMessage($messageId));
+       $isMasked = isInString('%', getMessage($messageId));
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'messageId=' . $messageId . ',isMasked=' . intval($isMasked));
 
        // Return result
-       return $masked;
+       return $isMasked;
 }
 
 // [EOF]