ouch, forgot a closing bracket, ...

This commit is contained in:
Klaus Leithoff 2008-02-14 07:46:18 +00:00
parent ee3377d1f2
commit d349ffed88

View File

@ -1329,7 +1329,7 @@ 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 (strlen($name>0)) {
if ($name == 'cancel' || stripos($name,'[cancel]') !== false)
{
$GLOBALS['egw_info']['etemplate']['to_process'][$form_name] = 'cancel';