Permalink
Browse files

setting values for radiogroup when options are added

  • Loading branch information...
1 parent c81a048 commit 556e49c49e883dbe0dd1faf491840a0a3d02d39a @Zeelot committed Sep 22, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 classes/yuriko/yform/field/radiogroup.php
@@ -50,6 +50,7 @@ public function __call($method, $args)
return ($this->_settings !== NULL)
// Use the above settings object to create our element
? $this->_settings->__call($method, $args)
+ ->set_value($this->_settings->get_value($this->_path))
// We are creating elements without a form object
: YForm::create_element($method, $args);
}

0 comments on commit 556e49c

Please sign in to comment.