2009-03-26 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Some small fixes which didn't allow creating reports or adding contents. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7c8b2a6782
commit
75346fb4d8
|
@ -1,3 +1,8 @@
|
|||
2009-03-26 Esteban Sanchez <estebans@artica.es>
|
||||
|
||||
* godmode/reporting/reporting_builder.php: Some small fixes which
|
||||
didn't allow creating reports or adding contents.
|
||||
|
||||
2009-03-26 Esteban Sanchez <estebans@artica.es>
|
||||
|
||||
* godmode/users/configure_user.php: Complete rewritten to fix minor
|
||||
|
|
|
@ -105,7 +105,7 @@ if ($add_content) {
|
|||
$module_description = (string) get_parameter ('module_description');
|
||||
|
||||
$values = array ();
|
||||
$values['id_custom_graph'] = $id_custom_graph ? $id_custom_graph : NULL;
|
||||
$values['id_gs'] = $id_custom_graph ? $id_custom_graph : NULL;
|
||||
$values['id_agent_module'] = $id_agent_module ? $id_agent_module : NULL;
|
||||
$values['type'] = $type;
|
||||
$values['period'] = $period * 3600;
|
||||
|
@ -136,7 +136,7 @@ if ($create_report) {
|
|||
$values = array ();
|
||||
$values['description'] = $report_description;
|
||||
$values['private'] = $report_private;
|
||||
$id_report = create_report ($name, $id_group, $values);
|
||||
$id_report = create_report ($report_name, $report_id_group, $values);
|
||||
print_result_message ($id_report,
|
||||
__('Successfully created'),
|
||||
__('Could not be created'));
|
||||
|
|
Loading…
Reference in New Issue