"fix for bug #1793: Help toggling does not toggle back"

This commit is contained in:
Ralf Becker 2008-10-28 06:21:34 +00:00
parent 97983eb739
commit 187d71fafb

View File

@ -119,7 +119,7 @@
{ {
$GLOBALS['type'] = 'user'; $GLOBALS['type'] = 'user';
} }
$this->show_help = $this->bo->session_data['show_help'] != '' && $this->bo->session_data['appname'] == $_GET['appname'] $this->show_help = isset($this->bo->session_data['show_help']) && $this->bo->session_data['appname'] == $_GET['appname']
? $this->bo->session_data['show_help'] ? $this->bo->session_data['show_help']
: (int)$GLOBALS['egw_info']['user']['preferences']['common']['show_help']; : (int)$GLOBALS['egw_info']['user']['preferences']['common']['show_help'];