[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5913] trunk/LedgerSMB/App_State.pm



Revision: 5913
          http://sourceforge.net/p/ledger-smb/code/5913
Author:   tshvr
Date:     2013-07-22 19:43:53 +0000 (Mon, 22 Jul 2013)
Log Message:
-----------
leave App_State locale initialised

Modified Paths:
--------------
    trunk/LedgerSMB/App_State.pm

Modified: trunk/LedgerSMB/App_State.pm
===================================================================
--- trunk/LedgerSMB/App_State.pm	2013-07-22 13:51:23 UTC (rev 5912)
+++ trunk/LedgerSMB/App_State.pm	2013-07-22 19:43:53 UTC (rev 5913)
@@ -92,7 +92,9 @@
 
 sub zero() {
     $User = undef;
-    $Locale = undef;
+    #tshvr4 leave it initialised, otherwise 'Can't call method "text" on an undefined value' if
+    # still errors between calling this method and and end of script
+    #$Locale = undef;
     $DBH = undef;
     @Roles = ();
     $DBName = undef;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.