From: Michael M Slusarz Date: Mon, 28 Jun 2010 23:35:44 +0000 (-0600) Subject: Fix parse error. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f12229826ab256b7020f754824624b088b611f44;p=horde.git Fix parse error. --- diff --git a/imp/templates/dimp/javascript_defs_dimp.php b/imp/templates/dimp/javascript_defs_dimp.php index e19e981f4..3127c4534 100644 --- a/imp/templates/dimp/javascript_defs_dimp.php +++ b/imp/templates/dimp/javascript_defs_dimp.php @@ -67,7 +67,7 @@ $code['conf'] = array_filter(array( 'name' => $GLOBALS['registry']->get('name', 'imp'), 'popup_height' => 610, 'popup_width' => 820, - 'preview_pref' => empty($GLOBALS['prefs']->getValue('dimp_show_preview')) ? 'horiz' : $GLOBALS['prefs']->getValue('dimp_show_preview'), + 'preview_pref' => ($GLOBALS['prefs']->getValue('dimp_show_preview') ? $GLOBALS['prefs']->getValue('dimp_show_preview') : 'horiz'), 'qsearchid' => IMP_Search::MBOX_PREFIX . IMP_Search::DIMP_QUICKSEARCH, 'qsearchfield' => $GLOBALS['prefs']->getValue('dimp_qsearch_field'), 'refresh_time' => intval($GLOBALS['prefs']->getValue('refresh_time')),