mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-21 22:22:15 +01:00
fix could not create new entries
This commit is contained in:
parent
eae2b52f79
commit
6085e9fb67
@ -1903,7 +1903,7 @@ class infolog_ui
|
||||
$print = (int) $_REQUEST['print'];
|
||||
//echo "<p>infolog_ui::edit: info_id=$info_id, action='$action', action_id='$action_id', type='$type', referer='$referer'</p>\n";
|
||||
|
||||
if ($info_id && !($content = $this->bo->read( $info_id || $action != 'sp' ? $info_id : $action_id )))
|
||||
if (($content = $this->bo->read( $info_id || $action != 'sp' ? $info_id : $action_id )) === false)
|
||||
{
|
||||
Framework::window_close(lang('Permission denied!'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user