Remove notice

This commit is contained in:
Michael RICOIS 2012-11-06 09:50:35 +00:00
parent 0dd41a8c11
commit b92f2b1019

View File

@ -25,7 +25,8 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
$nbFields = count($params['fields']);
$display = true;
$out = '';
//If more than one field exist we need to make a special display
if ( $nbFields > 1) {
$out.= '<div class="fieldgrp clearfix">';
@ -80,22 +81,22 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
$html = $this->intervalDateHTML($name, $options);
break;
case 'interval':
$html = $this->intervalHTML($name, $field);
$html = $this->intervalHTML($name, $options);
break;
case 'date':
$html = $this->dateHTML($name, $field);
$html = $this->dateHTML($name, $options);
break;
case 'text':
$html = $this->textHTML($name, $options);
break;
case 'textarea':
$html = $this->textareaHTML($name, $field);
$html = $this->textareaHTML($name, $options);
break;
case 'radio':
$html = $this->radioHTML($name, $field);
$html = $this->radioHTML($name, $options);
break;
case 'file':
$html = $this->fileuploadHtml($name, $field);
$html = $this->fileuploadHtml($name, $options);
break;
case 'tree':
//Do nothing