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

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



Revision: 1186
          http://svn.sourceforge.net/ledger-smb/?rev=1186&view=rev
Author:   einhverfr
Date:     2007-05-14 09:52:55 -0700 (Mon, 14 May 2007)

Log Message:
-----------
Adding missing arg logic stub for LedgerSMB.pm

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

Modified: trunk/LedgerSMB.pm
===================================================================
--- trunk/LedgerSMB.pm	2007-05-14 16:25:52 UTC (rev 1185)
+++ trunk/LedgerSMB.pm	2007-05-14 16:52:55 UTC (rev 1186)
@@ -179,6 +179,9 @@
     my $self = shift @_;
     my %args = @_;
     my $name = $args{name};
+    if (not defined $name){
+        # TODO: Raise error 
+    }
     my $rc;
     if ( $self->{$name} =~ /^\s*$/ ) {
         $rc = 1;


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