<?php
/************************************************************************
- * MXChange v0.2.1 Start: 10/01/2008 *
- * =============== Last change: 10/01/2008 *
+ * Mailer v0.2.1-FINAL Start: 10/01/2008 *
+ * =================== Last change: 10/01/2008 *
* *
* -------------------------------------------------------------------- *
* File : removeip_functions.php *
// Set constant name suffix depending on that level
$suffix = 'unsupported_' . $level;
switch ($level) {
- case 0:
+ case '0':
$suffix = 'none';
break;
- case 1:
+ case '1':
$suffix = 'low';
break;
- case 2:
+ case '2':
$suffix = 'medium';
break;
- case 3: // High level
+ case '3': // High level
$suffix = 'high';
break;
} // END - while
$constantName = sprintf("REMOVEIP_LEVEL_%s", strtoupper($suffix));
// Default message
- $message = sprintf(getMessage('REMOVEIP_UNKNOWN_LEVEL'), $suffix);
+ $message = getMaskedMessage('REMOVEIP_UNKNOWN_LEVEL', $suffix);
// Is that constant there?
if (isMessageIdValid($constantName)) {