mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 17:15:11 +02:00
git-svn-id: http://svn.centreon.com/Plugins/Dev@3020 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
98462c2fb2
commit
4db5c39a26
@ -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…
x
Reference in New Issue
Block a user