[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5927] trunk/LedgerSMB/Report/Invoices/Outstanding. pm
- Subject: SF.net SVN: ledger-smb:[5927] trunk/LedgerSMB/Report/Invoices/Outstanding. pm
- From: ..hidden..
- Date: Tue, 30 Jul 2013 19:07:28 +0000
Revision: 5927
http://sourceforge.net/p/ledger-smb/code/5927
Author: tshvr
Date: 2013-07-30 19:07:27 +0000 (Tue, 30 Jul 2013)
Log Message:
-----------
avoid 'Use of uninitialized value in concatenation (.) or string at LedgerSMB/Report/Invoices/Outstanding.pm'
Modified Paths:
--------------
trunk/LedgerSMB/Report/Invoices/Outstanding.pm
Modified: trunk/LedgerSMB/Report/Invoices/Outstanding.pm
===================================================================
--- trunk/LedgerSMB/Report/Invoices/Outstanding.pm 2013-07-27 22:22:57 UTC (rev 5926)
+++ trunk/LedgerSMB/Report/Invoices/Outstanding.pm 2013-07-30 19:07:27 UTC (rev 5927)
@@ -318,7 +318,10 @@
} else {
$script = ($r->{invoice}) ? 'ir.pl' : 'aa.pl';
}
- $r->{invnumber_href_suffix} = "$script?action=edit&id=$r->{id}";
+ #tshvr4 avoid 'Use of uninitialized value in concatenation (.) or string at LedgerSMB/Report/Invoices/Outstanding.pm'
+ if($r->{id}){
+ $r->{invnumber_href_suffix} = "$script?action=edit&id=$r->{id}";
+ }
}
$self->rows(..hidden..);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.