mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
allow direct error messages instead of just error codes
This commit is contained in:
parent
94a263caf7
commit
b599ae8d8b
@ -78,7 +78,11 @@
|
|||||||
$GLOBALS['egw']->session->egw_setcookie('domain');
|
$GLOBALS['egw']->session->egw_setcookie('domain');
|
||||||
return '<font color="red">' . lang('Your session could not be verified.') . '</font>';
|
return '<font color="red">' . lang('Your session could not be verified.') . '</font>';
|
||||||
default:
|
default:
|
||||||
return ' ';
|
if (!$code)
|
||||||
|
{
|
||||||
|
return ' ';
|
||||||
|
}
|
||||||
|
return htmlspecialchars($code);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user