diff --git a/Changes b/Changes index 4c9516c..b00af99 100644 --- a/Changes +++ b/Changes @@ -1,8 +1,8 @@ Revision history for HTML-FormFu-Model-LDAP 0.0103 2008-10-08 12:27:00+0200 - I hate checkboxes and everything related to them. + I hate checkboxes and everything related to them. God damn piece of crap design. - + 0.0102 Fix checkbox support to default_values (on as a value) Fix checkbox/remove support in general by issuing remove for undef values diff --git a/lib/HTML/FormFu/Model/LDAP.pm b/lib/HTML/FormFu/Model/LDAP.pm index f0b6bfe..a6d9d6c 100644 --- a/lib/HTML/FormFu/Model/LDAP.pm +++ b/lib/HTML/FormFu/Model/LDAP.pm @@ -95,13 +95,13 @@ Example usage: # $ldap_entry should inherit from Net::LDAP::Entry, or atleast # implement get_value(), replace() and update() - + # set form's default values from LDAP - + $form->model->default_values($ldap_entry); - + # update LDAP with values from submitted form - + if ($form->submitted_and_valid) { $form->model->update($ldap_entry); }