X-Git-Url: http://aymargeddon.de/gitweb/?p=aymargeddon%2Fcurrent.git;a=blobdiff_plain;f=src%2FFROGS%2FCommand.pm;h=58bf52a6bc12c538ba2de513ce7d7f43e2db9490;hp=35075355c27068b9d4d63bb6be0e9a144da1372f;hb=4f47adab27e4a1d41cf6eea144a68d1ae6bff05d;hpb=448ecd81168816b51bf23219e8cc802ed4e2346e diff --git a/src/FROGS/Command.pm b/src/FROGS/Command.pm index 3507535..58bf52a 100644 --- a/src/FROGS/Command.pm +++ b/src/FROGS/Command.pm @@ -204,7 +204,7 @@ sub first_phase_ajax{ my $aff = $self->affected(); use JSON; - return encode($aff); + return encode_json($aff); }