From 471c1d5b3dda502bee52f5c6cf167a89832ce832 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 17 Apr 2009 09:48:36 +0000 Subject: Don't show the 'no toolkit found' message unless we actually didn't find one --- core/controllers/admin_graphics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/controllers/admin_graphics.php b/core/controllers/admin_graphics.php index 6676a808..88be9331 100644 --- a/core/controllers/admin_graphics.php +++ b/core/controllers/admin_graphics.php @@ -30,7 +30,7 @@ class Admin_Graphics_Controller extends Admin_Controller { $view->content->active = new View("admin_graphics_$id.html"); $view->content->active->tk = $tk; $view->content->active->is_active = true; - } else { + } else if ($id != "none") { $v = new View("admin_graphics_$id.html"); $v->tk = $tk; $v->is_active = false; -- cgit v1.2.3