mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
allow direct error messages instead of just error codes
This commit is contained in:
parent
94a263caf7
commit
b599ae8d8b
@ -78,8 +78,12 @@
|
|||||||
$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:
|
||||||
|
if (!$code)
|
||||||
|
{
|
||||||
return ' ';
|
return ' ';
|
||||||
}
|
}
|
||||||
|
return htmlspecialchars($code);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Program starts here */
|
/* Program starts here */
|
||||||
|
Loading…
Reference in New Issue
Block a user