Zend_Dojo_Form_Element_Editor form field to come in as an array when
using Safari? The value comes in as standard text in Firefox.
For example, when I process the form submission from Firefox, I just use:
$body = $form->getValue('Body');
But, when I process the form submission from Safari, I have to use:
$body = $form->getValue('Body');
// added for safari
if (is_array($body)) {
$body = $body['Editor'];
}
Anyone else run into this? How do you handle it?
-Ed
没有评论:
发表评论