Don't show the 'no toolkit found' message unless we actually didn't find one

This commit is contained in:
Bharat Mediratta
2009-04-17 09:48:36 +00:00
parent ff5afeb714
commit 471c1d5b3d
+1 -1
View File
@@ -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;