mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
2011-09-22 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Deleted duplicated line * godmode/reporting/reporting_builder.php: Fixed report graph insertion of id 0 in the reports for bugs 3412316 and 3412866 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d26ce3cbe3
commit
6095945df4
@ -1,3 +1,11 @@
|
|||||||
|
2011-09-22 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Deleted
|
||||||
|
duplicated line
|
||||||
|
|
||||||
|
* godmode/reporting/reporting_builder.php: Fixed report graph
|
||||||
|
insertion of id 0 in the reports for bugs 3412316 and 3412866
|
||||||
|
|
||||||
2011-09-22 Miguel de Dios <miguel.dedios@artica.es>
|
2011-09-22 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_api.php: replaced the anonymous function for the named
|
* include/functions_api.php: replaced the anonymous function for the named
|
||||||
|
@ -199,8 +199,6 @@ ALTER TABLE `tnetwork_map` ADD COLUMN `show_snmp_modules` TINYINT(1) UNSIGNED N
|
|||||||
-- Table `trecon_task`
|
-- Table `trecon_task`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
ALTER TABLE `trecon_task` ADD COLUMN `disabled` tinyint(1) UNSIGNED NOT NULL DEFAULT 0;
|
|
||||||
|
|
||||||
ALTER TABLE `trecon_task` ADD COLUMN `disabled` tinyint(1) UNSIGNED NOT NULL DEFAULT 0;
|
ALTER TABLE `trecon_task` ADD COLUMN `disabled` tinyint(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||||
ALTER TABLE `trecon_task` ADD COLUMN `os_detect` tinyint(1) unsigned default '0';
|
ALTER TABLE `trecon_task` ADD COLUMN `os_detect` tinyint(1) unsigned default '0';
|
||||||
ALTER TABLE `trecon_task` ADD COLUMN `resolve_names` tinyint(1) unsigned default '0';
|
ALTER TABLE `trecon_task` ADD COLUMN `resolve_names` tinyint(1) unsigned default '0';
|
||||||
@ -256,9 +254,6 @@ ALTER TABLE ttrap ADD INDEX status (`status`);
|
|||||||
ALTER TABLE `talert_snmp` MODIFY COLUMN `custom_oid` text DEFAULT '';
|
ALTER TABLE `talert_snmp` MODIFY COLUMN `custom_oid` text DEFAULT '';
|
||||||
|
|
||||||
|
|
||||||
ALTER TABLE ttrap ADD INDEX timestamp (`timestamp`);
|
|
||||||
|
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `tconfig_os`
|
-- Table `tconfig_os`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
@ -317,7 +317,7 @@ switch ($action) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$id_gs = substr ($values['id_gs'], 0, strpos ($values['id_gs'], '|'));
|
$id_gs = substr ($values['id_gs'], 0, strpos ($values['id_gs'], '|'));
|
||||||
if ($id_gs !== false) {
|
if ($id_gs !== false && $id_gs !== '') {
|
||||||
$server_name = strstr($values ['id_gs'], '|');
|
$server_name = strstr($values ['id_gs'], '|');
|
||||||
$values ['id_gs'] = $id_gs;
|
$values ['id_gs'] = $id_gs;
|
||||||
$values['server_name'] = substr ($server_name, 1, strlen($server_name));
|
$values['server_name'] = substr ($server_name, 1, strlen($server_name));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user