mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
sql query bug fix (#6248)
This commit is contained in:
Neil Lathwood
committed by
David Bell
parent
c2cdf14223
commit
be9f4839bf
@ -2129,7 +2129,7 @@ function cache_peeringdb()
|
||||
if ($tmp_ix) {
|
||||
$pdb_ix_id = $tmp_ix['pdb_ix_id'];
|
||||
$update = array('name' => $ix->{'name'}, 'timestamp' => time());
|
||||
dbUpdate($update, 'pdb_ix', 'ix_id` = ? AND asn = ?', array($ixid, $asn));
|
||||
dbUpdate($update, 'pdb_ix', '`ix_id` = ? AND `asn` = ?', array($ixid, $asn));
|
||||
} else {
|
||||
$insert = array(
|
||||
'ix_id' => $ixid,
|
||||
|
Reference in New Issue
Block a user