Skip to content

Commit

Permalink
another mc
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Pick committed Jul 24, 2012
1 parent f008c7c commit d9676ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/joomla/form/field.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ public function setup(SimpleXMLElement $element, $value, $group = null)
$name = (string) $element['name'];
$required = (string) $element['required'];
$disabled = (string) $element['disabled'];
$readonly = (string) $element['readonly'];

// Set the required, disabled and validation options.
$this->required = ($required == 'true' || $required == 'required' || $required == '1');
Expand Down

0 comments on commit d9676ed

Please sign in to comment.