]> wagnertech.de Git - mfinanz.git/commitdiff
Merge branch 'master' of github.com:kivitendo/kivitendo-erp
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 30 Jan 2013 12:22:56 +0000 (13:22 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 30 Jan 2013 12:22:56 +0000 (13:22 +0100)
SL/Auth/SessionValue.pm

index 6bf65b9232a0bd64107edb642454e9ba96f3e081..cb1c7e386de006cb377dc70bda6414321b0a750e 100644 (file)
@@ -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);
 }