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

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



Revision: 6544
          http://sourceforge.net/p/ledger-smb/code/6544
Author:   einhverfr
Date:     2014-01-19 08:01:15 +0000 (Sun, 19 Jan 2014)
Log Message:
-----------
Correcting call to attribute MOP

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

Modified: trunk/LedgerSMB/Request.pm
===================================================================
--- trunk/LedgerSMB/Request.pm	2014-01-19 07:59:15 UTC (rev 6543)
+++ trunk/LedgerSMB/Request.pm	2014-01-19 08:01:15 UTC (rev 6544)
@@ -84,7 +84,7 @@
          or Carp::croak 
             "Could not get meta object.  Is $class a valid Moose class?";
     for my $att($meta->get_attibute_list){
-        $self->require($att) if $meta->get_attribute($_)->required;
+        $self->require($att) if $meta->get_attribute($_)->is_required;
     }
 }
 

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


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits