Added returning a single category

This commit is contained in:
jengo 2001-02-03 06:55:22 +00:00
parent 17ede17844
commit ef7c988605

View File

@ -43,6 +43,9 @@
function return_array($type = "all")
{
$filter = $this->filter($type);
if (gettype($type) == "integer") {
$filter = " and cat_id='$type'";
}
$this->db->query("select * from phpgw_categories where cat_owner='"
. $this->account_id . "' and cat_appname='"