mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fix for problem reported by Julius Wehrmann, a single date-picker (no other widgets) does not work
This commit is contained in:
parent
e08004b4bc
commit
7a28a6bcd0
@ -1062,10 +1062,18 @@
|
|||||||
switch ($type)
|
switch ($type)
|
||||||
{
|
{
|
||||||
case 'ext':
|
case 'ext':
|
||||||
if (!$this->extensionPostProcess($sub,$form_name,$this->get_array($content,$form_name,True),$value))
|
$_cont = &$this->get_array($content,$form_name,True);
|
||||||
|
if (!$this->extensionPostProcess($sub,$form_name,$_cont,$value))
|
||||||
{
|
{
|
||||||
$this->unset_array($content,$form_name);
|
$this->unset_array($content,$form_name);
|
||||||
}
|
}
|
||||||
|
// this else should NOT be unnecessary as $_cont is a reference to the index
|
||||||
|
// $form_name of $content, but under some circumstances a set/changed $_cont
|
||||||
|
// does not result in a change in $content -- RalfBecker 2004/09/18
|
||||||
|
elseif ($_cont && !$this->isset_array($content,$form_name))
|
||||||
|
{
|
||||||
|
$this->set_array($content,$form_name,$_cont);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'htmlarea':
|
case 'htmlarea':
|
||||||
if (isset($value))
|
if (isset($value))
|
||||||
|
Loading…
Reference in New Issue
Block a user