forked from extern/egroupware
small bugfix for a bug/phpwarning (empty haystack...) appearing occasionally while building up templates
This commit is contained in:
parent
54e606e2a0
commit
ee3377d1f2
@ -1329,11 +1329,13 @@ foreach($sess as $key => $val)
|
||||
if (!$readonly && $type != 'buttononly') // input button, are never submitted back!
|
||||
{
|
||||
$GLOBALS['egw_info']['etemplate']['to_process'][$form_name] = $cell['type'];
|
||||
if (strlen($name>0) {
|
||||
if ($name == 'cancel' || stripos($name,'[cancel]') !== false)
|
||||
{
|
||||
$GLOBALS['egw_info']['etemplate']['to_process'][$form_name] = 'cancel';
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'hrule':
|
||||
$html .= $this->html->hr($cell_options);
|
||||
|
Loading…
Reference in New Issue
Block a user