Fix: remove obsolete code

This commit is contained in:
Regis Houssin 2011-11-08 23:27:49 +01:00
parent cbec43e098
commit 6b48e3af89

View File

@ -152,7 +152,7 @@ class Form
} }
else if ($typeofdata == 'day' || $typeofdata == 'datepicker') else if ($typeofdata == 'day' || $typeofdata == 'datepicker')
{ {
$ret.=$this->form_date($_SERVER['PHP_SELF'].($objectkey?'?id='.$object->id:''),$value,$htmlname); $ret.=$this->form_date($_SERVER['PHP_SELF'].'?id='.$object->id,$value,$htmlname);
} }
else if (preg_match('/^ckeditor/',$typeofdata)) else if (preg_match('/^ckeditor/',$typeofdata))
{ {