summaryrefslogtreecommitdiff
path: root/skins/default/includes
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-10-15 16:33:58 +0000
committeralecpl <alec@alec.pl>2010-10-15 16:33:58 +0000
commit6d5f75670392fbad3431d445be562cf87a4a30cf (patch)
tree6ea13ab041ddccc3cf1d97c6c244dc102920905a /skins/default/includes
parentbd2e33f5f9b1bbade6106a89314273ea74e2b805 (diff)
- Fix: when task is empty (on error?) don't try to include ".css" file
Diffstat (limited to 'skins/default/includes')
-rw-r--r--skins/default/includes/links.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/skins/default/includes/links.html b/skins/default/includes/links.html
index 078b4d877..18caa3d4d 100644
--- a/skins/default/includes/links.html
+++ b/skins/default/includes/links.html
@@ -1,7 +1,7 @@
<link rel="index" href="$__comm_path" />
<link rel="shortcut icon" href="/images/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="/common.css" />
-<roundcube:if condition="env:task != 'login' && env:task != 'dummy'" />
+<roundcube:if condition="!empty(env:task) && !in_array(env:task, array('login', 'dummy', 'utils'))" />
<link rel="stylesheet" type="text/css" href="/<roundcube:var name="env:task" />.css" />
<roundcube:endif />
<roundcube:if condition="browser:ie" />