diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-03 15:40:41 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-03 15:40:41 +0000 |
commit | d35a0cdb610fc646c329b9622fcb05a4948c3ba2 (patch) | |
tree | c39a52719db19b3a4cf4508507e0d56190aea31c /modules/server_add/helpers/server_add_theme.php | |
parent | 892e46368b5440974fd2700dcfd6b5697c636f3b (diff) |
Fix for ticket #200. When an error occurs the current uri is no
longer admin/server_add but admin/server_add/add_path and the equality
check fails.
Diffstat (limited to 'modules/server_add/helpers/server_add_theme.php')
-rw-r--r-- | modules/server_add/helpers/server_add_theme.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/server_add/helpers/server_add_theme.php b/modules/server_add/helpers/server_add_theme.php index bdd71db3..042156a4 100644 --- a/modules/server_add/helpers/server_add_theme.php +++ b/modules/server_add/helpers/server_add_theme.php @@ -20,7 +20,7 @@ class server_add_theme_Core { static function admin_head($theme) { $head = array(); - if (Router::$current_uri == "admin/server_add") { + if (strpos(Router::$current_uri, "admin/server_add") !== false) { $head[] = "<link media=\"screen, projection\" rel=\"stylesheet\" type=\"text/css\" href=\"" . url::file("lib/jquery.autocomplete.css") . "\" />"; $base = url::site("__ARGS__"); |