diff options
author | alecpl <alec@alec.pl> | 2010-10-15 16:33:58 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-10-15 16:33:58 +0000 |
commit | 6d5f75670392fbad3431d445be562cf87a4a30cf (patch) | |
tree | 6ea13ab041ddccc3cf1d97c6c244dc102920905a | |
parent | bd2e33f5f9b1bbade6106a89314273ea74e2b805 (diff) |
- Fix: when task is empty (on error?) don't try to include ".css" file
-rw-r--r-- | skins/default/includes/links.html | 2 |
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" /> |