diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-15 16:33:58 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-15 16:33:58 +0000 |
| commit | 27aac995fd8d929a0231fc8ed2d20612c48f4fb4 (patch) | |
| tree | 34e8d8c1ae4f9cde781c78c73d542e8b7e5cbd25 | |
| parent | 2512b0f25480f5d598d0be1f292de7c0b7c354e2 (diff) | |
- Fix: when task is empty (on error?) don't try to include ".css" file
git-svn-id: https://svn.roundcube.net/trunk@4096 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/skins/default/includes/links.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/skins/default/includes/links.html b/roundcubemail/skins/default/includes/links.html index 078b4d877..18caa3d4d 100644 --- a/roundcubemail/skins/default/includes/links.html +++ b/roundcubemail/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" /> |
