From f12229826ab256b7020f754824624b088b611f44 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 28 Jun 2010 17:35:44 -0600 Subject: [PATCH] Fix parse error. --- imp/templates/dimp/javascript_defs_dimp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')), -- 2.11.0