mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix device groups not using cached joins sometimes (#10353)
for device groups that only reference the devices table
This commit is contained in:
@@ -152,7 +152,7 @@ class QueryBuilderFluentParser extends QueryBuilderParser
|
||||
*/
|
||||
protected function joinTables($query)
|
||||
{
|
||||
if (empty($this->builder['joins'])) {
|
||||
if (!isset($this->builder['joins'])) {
|
||||
$this->generateJoins();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user