2009-02-23 Esteban Sanchez <estebans@artica.es>
* include/functions_html.php: Fixed id counter on print_select. * include/functions_db.php: Documentation style correction. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1474 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
651596876e
commit
2fde4ae37e
|
@ -1,3 +1,9 @@
|
|||
2009-02-23 Esteban Sanchez <estebans@artica.es>
|
||||
|
||||
* include/functions_html.php: Fixed id counter on print_select.
|
||||
|
||||
* include/functions_db.php: Documentation style correction.
|
||||
|
||||
2009-02-23 Esteban Sanchez <estebans@artica.es>
|
||||
|
||||
* godmode/reporting/map_builder.php: Use process_sql_update and
|
||||
|
|
|
@ -264,9 +264,7 @@ function give_disabled_group ($id_group) {
|
|||
* Get all the agents within a group(s). For non-godmode usage get_user_groups should be used.
|
||||
*
|
||||
* @param mixed $id_group Group id or an array of ID's. If nothing is selected, it will select all
|
||||
*
|
||||
* @param bool $disabled Add disabled agents to agents. Default: False.
|
||||
*
|
||||
* @param string $case Which case to return the agentname as (lower, upper, none)
|
||||
*
|
||||
* @return array An array with all agents in the group or an empty array
|
||||
|
|
|
@ -44,7 +44,7 @@ function print_select ($fields, $name, $selected = '', $script = '', $nothing =
|
|||
//If duplicate names exist, it will start numbering. Otherwise it won't (for backwards compatibility)
|
||||
if (isset ($idcounter[$name])) {
|
||||
$idcounter[$name]++;
|
||||
$name = $name.$idcounter;
|
||||
$name = $name.$idcounter[$name];
|
||||
} else {
|
||||
$idcounter[$name] = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue