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

SF.net SVN: ledger-smb:[5822] trunk/LedgerSMB/DBObject.pm



Revision: 5822
          http://sourceforge.net/p/ledger-smb/code/5822
Author:   einhverfr
Date:     2013-05-18 11:18:25 +0000 (Sat, 18 May 2013)
Log Message:
-----------
Fixing bug 822, inventory activity causing cgi crash

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

Modified: trunk/LedgerSMB/DBObject.pm
===================================================================
--- trunk/LedgerSMB/DBObject.pm	2013-05-18 10:45:12 UTC (rev 5821)
+++ trunk/LedgerSMB/DBObject.pm	2013-05-18 11:18:25 UTC (rev 5822)
@@ -139,7 +139,7 @@
     
     my $pargs = $ref->{proargnames};
     my @proc_args;
-    my @proargtypes = split / /, $ref->{proargtypes};
+    my @proargtypes = split / /, $ref->{proargtypes} if $ref->{proargtypes};
 
     if ( !$ref->{proname} ) {    # no such function
         # If the function doesn't exist, $funcname gets zeroed?

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