ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/Deliantra.pm
(Generate patch)

Comparing deliantra/Deliantra/Deliantra.pm (file contents):
Revision 1.120 by root, Wed Dec 26 18:26:15 2007 UTC vs.
Revision 1.121 by root, Mon Apr 14 00:35:17 2008 UTC

488} 488}
489 489
490sub attr_freeze($) { 490sub attr_freeze($) {
491 my ($ob) = @_; 491 my ($ob) = @_;
492 492
493 $ob->{attach} = Deliantra::encode_json $ob->{attach} 493 $ob->{attach} = JSON::XS->new->utf8->canonical->encode ($ob->{attach})
494 if exists $ob->{attach}; 494 if exists $ob->{attach};
495 495
496 $ob 496 $ob
497} 497}
498 498

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines