From: Moritz Bunkus Date: Wed, 30 Jan 2013 12:22:56 +0000 (+0100) Subject: Merge branch 'master' of github.com:kivitendo/kivitendo-erp X-Git-Tag: release-3.1.0beta1~664 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/2a201b355ff26058b8be59a92ce9c025cdf3a3bf?hp=0710af696dd6818306c9ec9880ede7a92eed35d3 Merge branch 'master' of github.com:kivitendo/kivitendo-erp --- diff --git a/SL/Auth/SessionValue.pm b/SL/Auth/SessionValue.pm index 6bf65b923..cb1c7e386 100644 --- a/SL/Auth/SessionValue.pm +++ b/SL/Auth/SessionValue.pm @@ -2,6 +2,10 @@ package SL::Auth::SessionValue; use strict; +# Classes that overload stringification must be known before +# YAML::Load() is called. +use SL::Locale::String (); + use Scalar::Util qw(weaken); use YAML; @@ -33,6 +37,7 @@ sub get { sub get_dumped { my ($self) = @_; + local $YAML::Stringify = 1; return YAML::Dump($self->get); }