git-svn-id: http://svn.centreon.com/Plugins/Dev@3020 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
7a12cb5a46
commit
2c034f6864
|
@ -36,7 +36,7 @@ require "@INSTALL_DIR_OREON@/ODS/etc/conf.pm";
|
|||
#
|
||||
|
||||
sub existsInDB($$) {
|
||||
my ($dbh, $oid,$manuf) = @_;
|
||||
my ($dbh, $oid) = @_;
|
||||
my $sth = $dbh->prepare("SELECT traps_id FROM traps WHERE traps_oid = '$oid'");
|
||||
$sth->execute();
|
||||
if (defined($sth->fetchrow_array)) {
|
||||
|
|
Loading…
Reference in New Issue