2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/reporting/map_builder.php: fix small bug when there are'nt any elements in the map and it try loop foearch. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1953 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
889b4b2f73
commit
a8e507006a
|
@ -1,3 +1,8 @@
|
|||
2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* pandora_console/godmode/reporting/map_builder.php: fix small bug when
|
||||
there are'nt any elements in the map and it try loop foearch.
|
||||
|
||||
2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* pandora_console/include/functions_events.php: fix the insert event,
|
||||
|
|
|
@ -431,9 +431,11 @@ if (! $edit_layout && ! $id_layout) {
|
|||
FROM tlayout_data AS t1
|
||||
WHERE t1.id_layout = $id_layout");
|
||||
$tempArraySelect = array();
|
||||
foreach ($elements as $element) {
|
||||
$tempArraySelect[$element['id']] = $element['label'] . " - " .
|
||||
$element['name_agent'] . " - " . $element['name_module'];
|
||||
if (is_array($elements)) {
|
||||
foreach ($elements as $element) {
|
||||
$tempArraySelect[$element['id']] = $element['label'] . " - " .
|
||||
$element['name_agent'] . " - " . $element['name_module'];
|
||||
}
|
||||
}
|
||||
print_select($tempArraySelect, 'delete_element', '', '', __('None'), 0);
|
||||
print " ";
|
||||
|
|
Loading…
Reference in New Issue