mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
*** empty log message ***
This commit is contained in:
parent
ff62eb583c
commit
585be61e0e
@ -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)
|
||||
|
@ -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] . '"';
|
||||
|
Loading…
Reference in New Issue
Block a user