mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update WirelessSensor.php (#16016)
I was getting a SQL error that sensors_id was not found. I changed the reference to sensor_id.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace App\Models;
|
||||
class WirelessSensor extends DeviceRelatedModel
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $primaryKey = 'sensors_id';
|
||||
protected $primaryKey = 'sensor_id';
|
||||
|
||||
// ---- Helper Functions ----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user