diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 05678b0ff3..95eefafae2 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1903,7 +1903,7 @@ class infolog_ui $print = (int) $_REQUEST['print']; //echo "
infolog_ui::edit: info_id=$info_id, action='$action', action_id='$action_id', type='$type', referer='$referer'
\n"; - if (!($content = $this->bo->read( $info_id || $action != 'sp' ? $info_id : $action_id ))) + if ($info_id && !($content = $this->bo->read( $info_id || $action != 'sp' ? $info_id : $action_id ))) { Framework::window_close(lang('Permission denied!')); }