Permalink
Browse files

forgot to make the new method chainable

  • Loading branch information...
1 parent b17b48d commit 2cfbeb730d7c1e2532aebadad04557ba595ab8a7 @Zeelot committed Aug 2, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 classes/yuriko/yform/field/select.php
@@ -25,6 +25,8 @@ public function add_option($value, $name, array $attributes = array())
{
$this->_options[$value] = $name;
$this->_option_attributes[$value] = $attributes;
+
+ return $this;
}
public function add_options(array $options)

0 comments on commit 2cfbeb7

Please sign in to comment.