Fix use of non-initialised variable

This commit is contained in:
Johannes Meyer 2013-08-26 15:07:18 +02:00
parent 13e4efa221
commit 4c79b3d179
1 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,6 @@
*/
// {{{ICINGA_LICENSE_HEADER}}}
use \DateTime;
use \Zend_View_Helper_FormElement;
/**
@ -63,7 +62,7 @@ class Zend_View_Helper_FormDateTime extends Zend_View_Helper_FormElement
// Build the element
$xhtml = '<div class="datetime">'
. '<input type="text" name="' . $this->view->escape($name) . '"'
. ' id="' . $this->view->escape($id) . '"'
. ' id="' . $this->view->escape($name) . '"'
. $value
. $disabled
. $this->_htmlAttribs($attribs)