Doh, wrong method name.

I wonder why PHP didn't throw an error

Signed-off-by: Michael Tänzer <neo@nhng.de>
This commit is contained in:
Michael Tänzer 2010-07-05 00:31:17 +02:00
parent cab10c7d63
commit cb4755dd3b

View file

@ -368,7 +368,7 @@ class ManageAccountController extends Zend_Controller_Action
$query = 'select `id`, `test_text` from `cats_variant` $query = 'select `id`, `test_text` from `cats_variant`
where `type_id` = 1'; where `type_id` = 1';
$options = $this->db->fetchPairs($query); $options = $this->db->fetchPairs($query);
$variant->setOptions($options) $variant->setMultiOptions($options)
->setRequired(true); ->setRequired(true);
$form->addElement($variant); $form->addElement($variant);