Fix a few variables that were inputted incorrectly
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 1 Nov 2004 00:40:12 +0000 (00:40 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 1 Nov 2004 00:40:12 +0000 (00:40 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8295 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/decode/iso_8859_14.php
functions/decode/iso_8859_16.php

index ae421638afc76b1b6ec6f4f5979bf42d7388d736..50fae3f8548d3c33177a7e0ad8f4f3af8aa6e2cc 100644 (file)
@@ -155,7 +155,7 @@ function charset_decode_iso_8859_14 ($string) {
         "\xFF" => '&#255;'
     );
 
-    $string = str_replace(array_keys($iso8869_14), array_values($iso8859_14), $string);
+    $string = str_replace(array_keys($iso8859_14), array_values($iso8859_14), $string);
 
     return $string;
 }
index b1bf326f5f9c396de9e67bb3106fc3e17cb572d7..8ba49bbe85b3ee146c04c3da4250ae7619459e67 100644 (file)
@@ -55,7 +55,7 @@ function charset_decode_iso_8859_16 ($string) {
     if (! sq_is8bit($string,'iso-8859-16'))
         return $string;
 
-    $iso8869_16 = array(
+    $iso8859_16 = array(
         "\xA0" => '&#160;',
         "\xA1" => '&#260;',
         "\xA2" => '&#261;',