2012-11-21 Dario Rodriguez <dario.rodriguez@artica.es>

* operation/integria_incidents/incident.php: Fixed a bug in integration
	between Integria and Pandora on Incident management.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
darode 2012-11-21 16:18:55 +00:00
parent f97cededf3
commit 2a123e5788
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2012-11-21 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.php: Fixed a bug in integration
between Integria and Pandora on Incident management.
MERGED FROM 4.0.2
2012-11-20 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/load_updatemanager.php,
@ -13,7 +20,7 @@
* include/functions_groups.php,
include/functions_agents.php,
include/functions_modules.php,
include/functions_modules.php,
include/functions_treeview.php,
include/functions_os.php,
pandoradb.sql,

View File

@ -76,9 +76,9 @@ ui_print_page_header (__('Incident management'), "images/book_edit.png", false,
if($update_incident == 1) {
$values[0] = $id_incident;
$values[1] = str_replace(" ", "%20", io_safe_output(get_parameter('title')));
$values[2] = str_replace(" ", "%20", io_safe_output(get_parameter('description')));
$values[3] = str_replace(" ", "%20", io_safe_output(get_parameter('epilog')));
$values[1] = urlencode(io_safe_output(get_parameter('title')));
$values[2] = urlencode(io_safe_output(get_parameter('description')));
$values[3] = urlencode(io_safe_output(get_parameter('epilog')));
$values[4] = get_parameter('group');
$values[5] = get_parameter('priority');
$values[6] = get_parameter('source');
@ -106,10 +106,10 @@ $create_incident = get_parameter('create_incident', 0);
if($create_incident == 1) {
$values[0] = str_replace(" ", "%20", io_safe_output(get_parameter('title')));
$values[0] = urlencode(io_safe_output(get_parameter('title')));
$values[1] = get_parameter('group');
$values[2] = get_parameter('priority');
$values[3] = str_replace(" ", "%20", io_safe_output(get_parameter('description')));
$values[3] = urlencode(io_safe_output(get_parameter('description')));
$values[4] = $config['integria_inventory'];
$params = implode($token, $values);