arg! cut-n-paste error
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 10 Nov 2005 02:12:12 +0000 (02:12 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 10 Nov 2005 02:12:12 +0000 (02:12 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1994 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/src/perlmods/JSON.pm

index 4b70455..6c48a14 100644 (file)
@@ -199,7 +199,7 @@ sub perl2JSON {
                        my $outkey = NFD($key);
                        $output .= ',' if ($c); 
 
                        my $outkey = NFD($key);
                        $output .= ',' if ($c); 
 
-                       $outkey = NFD($perl);
+                       $outkey = NFD($outkey);
                        $outkey =~ s{\\}{\\\\}sgo;
                        $outkey =~ s/"/\\"/sgo;
                        $outkey =~ s/\t/\\t/sgo;
                        $outkey =~ s{\\}{\\\\}sgo;
                        $outkey =~ s/"/\\"/sgo;
                        $outkey =~ s/\t/\\t/sgo;