summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-02-26 11:34:08 +0000
committeralecpl <alec@alec.pl>2012-02-26 11:34:08 +0000
commitaf5995d41bbf3c36c9ed8ee839c47c9b37567db1 (patch)
treec5485b1079b30ccd387adf03844f90f5b258e916 /program
parentef1e877a8dd419fcb0de772bf0c40eeca76ee7eb (diff)
Fix larry issues: 'Mark' button position, broken folders list footer
Diffstat (limited to 'program')
-rw-r--r--program/include/main.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 68719e895..63c3259c2 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1210,8 +1210,7 @@ function rcmail_quota_display($attrib)
if (!$attrib['id'])
$attrib['id'] = 'rcmquotadisplay';
- if(isset($attrib['display']))
- $_SESSION['quota_display'] = $attrib['display'];
+ $_SESSION['quota_display'] = !empty($attrib['display']) ? $attrib['display'] : 'text';
$OUTPUT->add_gui_object('quotadisplay', $attrib['id']);