summaryrefslogtreecommitdiff
path: root/modules/server_add/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-04-03 15:40:41 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-04-03 15:40:41 +0000
commitd35a0cdb610fc646c329b9622fcb05a4948c3ba2 (patch)
treec39a52719db19b3a4cf4508507e0d56190aea31c /modules/server_add/helpers
parent892e46368b5440974fd2700dcfd6b5697c636f3b (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')
-rw-r--r--modules/server_add/helpers/server_add_theme.php2
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__");