From eda522570e05e9d9e5174084ecc4c0a0fb5340cc Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 11 May 2001 13:08:06 +0000 Subject: [PATCH] using APP_TPL constant --- admin/editcategory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/editcategory.php b/admin/editcategory.php index 908f8f4247..857724e725 100644 --- a/admin/editcategory.php +++ b/admin/editcategory.php @@ -20,7 +20,7 @@ . "&filter=$filter")); } - $t = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('admin')); + $t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); $t->set_file(array('form' => 'category_form.tpl')); $t->set_block('form','add','addhandle'); $t->set_block('form','edit','edithandle');