Fix parse error.
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 28 Jun 2010 23:35:44 +0000 (17:35 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 28 Jun 2010 23:35:44 +0000 (17:35 -0600)
imp/templates/dimp/javascript_defs_dimp.php

index e19e981..3127c45 100644 (file)
@@ -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')),