some bugs with json fixed
[aymargeddon/current.git] / src / FROGS / Command.pm
index 3507535..58bf52a 100644 (file)
@@ -204,7 +204,7 @@ sub first_phase_ajax{
     
     my $aff = $self->affected();
     use JSON;
-    return encode($aff);
+    return encode_json($aff);
     
 }