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.
This commit is contained in:
Tim Almdal
2009-04-03 15:40:41 +00:00
parent 892e46368b
commit d35a0cdb61
2 changed files with 2 additions and 2 deletions
@@ -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__");