summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-04-17 09:48:36 +0000
committerBharat Mediratta <bharat@menalto.com>2009-04-17 09:48:36 +0000
commit471c1d5b3dda502bee52f5c6cf167a89832ce832 (patch)
tree146050561a2b360fb56f79682c8538683372d804
parentff5afeb714dcc52090f4a9fb1acdc404165bad61 (diff)
Don't show the 'no toolkit found' message unless we actually didn't find one
-rw-r--r--core/controllers/admin_graphics.php2
1 files changed, 1 insertions, 1 deletions
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;