*** empty log message ***

This commit is contained in:
jengo 2001-01-31 07:46:26 +00:00
parent ff62eb583c
commit 585be61e0e
2 changed files with 7 additions and 4 deletions

View File

@ -125,7 +125,11 @@
$this->db->query("select cat_name from phpgw_categories where cat_id='"
. "$cat_id'",__LINE__,__FILE__);
$this->db->next_record();
return $this->db->f("cat_name");
if ($this->db->f("cat_name")) {
return $this->db->f("cat_name");
} else {
return "--";
}
}
function exists($type,$cat_name)

View File

@ -203,11 +203,10 @@
return $out;
}
function getGroups($groups, $selected="", $name="")
function getGroups($groups, $selected="", $name="n_groups[]")
{
global $phpgw;
if(!$name) $name = "n_groups[]";
$out = '<select name="' . $name . '" multiple>';
while (list($null,$group) = each($groups)) {
$out .= '<option value="' . $group[0] . '"';