[freeside-commits] freeside/FS/FS/UI Web.pm,1.48,1.49
Mark Wells
mark at wavetail.420.am
Thu Nov 10 13:00:04 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/UI
In directory wavetail.420.am:/tmp/cvs-serv16540/FS/FS/UI
Modified Files:
Web.pm
Log Message:
silence warning
Index: Web.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/UI/Web.pm,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -w -d -r1.48 -r1.49
--- Web.pm 27 Apr 2011 08:31:01 -0000 1.48
+++ Web.pm 10 Nov 2011 21:00:02 -0000 1.49
@@ -655,7 +655,9 @@
}
#to_json(\@return); #waiting on deb 5.0 for new JSON.pm?
- objToJson(\@return);
+ #silence the warning though
+ my $to_json = JSON->can('to_json') || JSON->can('objToJson');
+ &$to_json(\@return);
}
More information about the freeside-commits
mailing list