arg! cut-n-paste error
[Evergreen.git] / OpenSRF / src / perlmods / JSON.pm
index 4b70455..6c48a14 100644 (file)
@@ -199,7 +199,7 @@ sub perl2JSON {
                        my $outkey = NFD($key);
                        $output .= ',' if ($c); 
 
-                       $outkey = NFD($perl);
+                       $outkey = NFD($outkey);
                        $outkey =~ s{\\}{\\\\}sgo;
                        $outkey =~ s/"/\\"/sgo;
                        $outkey =~ s/\t/\\t/sgo;