allow direct error messages instead of just error codes

This commit is contained in:
Ralf Becker 2008-08-07 20:35:57 +00:00
parent 94a263caf7
commit b599ae8d8b

View File

@ -78,7 +78,11 @@
$GLOBALS['egw']->session->egw_setcookie('domain');
return '<font color="red">' . lang('Your session could not be verified.') . '</font>';
default:
return '&nbsp;';
if (!$code)
{
return '&nbsp;';
}
return htmlspecialchars($code);
}
}