Changeset 798


Ignore:
Timestamp:
02/08/10 02:19:30 (14 years ago)
Author:
nanardon
Message:
  • fix checkbox/attrbitues option parsing (when there is no option)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Model/AttrForms.pm

    r794 r798  
    258258            return $html; 
    259259        }; 
    260         /^checkbox(?::(\w+))$/ and do { 
    261             my $options = $1; 
     260        /^checkbox(?::(\w+))?$/ and do { 
     261            my $options = $1 || ''; 
    262262            my $text = sprintf('<input type="checkbox" name="%s"%s>', 
    263263                $self->escape($htmlname), 
Note: See TracChangeset for help on using the changeset viewer.