Cases (switch command) on numbers fixed, German language strings fixed
[mailer.git] / inc / libs / removeip_functions.php
index 23d393492f63fb986a6178a172b78bbd344d20c9..0035a1339d311f08d733c9f3f92b8d313d4845cd 100644 (file)
@@ -118,19 +118,19 @@ function addAnonymityLevel () {
        // 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