mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
apostrophe -> semicolon. merci grivat!
git-svn-id: http://www.observium.org/svn/observer/trunk@1048 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -127,7 +127,7 @@ function discover_mempool(&$valid_mempool, $device, $index, $type, $descr, $prec
|
||||
{
|
||||
echo(".");
|
||||
# entry = mysql_fetch_assoc(mysql_query());
|
||||
$query = "UPDATE `mempools` SET `mempool_descr` = '".$descr."', `entPhysicalIndex` = '".$entPhysicalIndex."'"'
|
||||
$query = "UPDATE `mempools` SET `mempool_descr` = '".$descr."', `entPhysicalIndex` = '".$entPhysicalIndex."'";
|
||||
$query .= ", `hrDeviceIndex` = '$hrDeviceIndex' ";
|
||||
$query .= "WHERE `device_id` = '".$device['device_id']."' AND `mempool_index` = '".$index."' AND `mempool_type` = '".$type."'";
|
||||
mysql_query($query);
|
||||
|
||||
Reference in New Issue
Block a user