mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Change error-message from "Error: saving the entry" to "Permission denied" as it's far more likely than DB failed to store the entry
This commit is contained in:
parent
308f371b95
commit
bb430d909b
@ -1921,7 +1921,7 @@ class infolog_ui
|
||||
$active_tab = $content['tabs'];
|
||||
if (!($info_id = $this->bo->write($content, true, true, true, $content['no_notifications'])))
|
||||
{
|
||||
$content['msg'] = $info_id !== 0 || !$content['info_id'] ? lang('Error: saving the entry') :
|
||||
$content['msg'] = $info_id !== 0 || !$content['info_id'] ? lang('Permission denied!') :
|
||||
lang('Error: the entry has been updated since you opened it for editing!').'<br />'.
|
||||
lang('Copy your changes to the clipboard, %1reload the entry%2 and merge them.','<a href="'.
|
||||
htmlspecialchars(Egw::link('/index.php',array(
|
||||
|
Loading…
Reference in New Issue
Block a user