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

SF.net SVN: ledger-smb:[5508] addons/1.3/report_framework/trunk/LedgerSMB/ DBObject_Moose.pm



Revision: 5508
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5508&view=rev
Author:   einhverfr
Date:     2013-01-07 13:17:58 +0000 (Mon, 07 Jan 2013)
Log Message:
-----------
Correcting constructor arguments when calling PNL reports

Modified Paths:
--------------
    addons/1.3/report_framework/trunk/LedgerSMB/DBObject_Moose.pm

Modified: addons/1.3/report_framework/trunk/LedgerSMB/DBObject_Moose.pm
===================================================================
--- addons/1.3/report_framework/trunk/LedgerSMB/DBObject_Moose.pm	2013-01-07 12:39:05 UTC (rev 5507)
+++ addons/1.3/report_framework/trunk/LedgerSMB/DBObject_Moose.pm	2013-01-07 13:17:58 UTC (rev 5508)
@@ -66,7 +66,7 @@
 #
 sub _to_dbobject {
      my $self   = shift @_;
-    return LedgerSMB::DBObject->new({base => $self});
+    return LedgerSMB::DBObject->new({base => $self, ignore_base_type => 1});
 }
 
 =item set_ordering

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