mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
IdoQuery: pass ourselves to hook, not back to us
This commit is contained in:
parent
30f8faf0ba
commit
b643c97fb0
@ -828,7 +828,7 @@ abstract class IdoQuery extends DbQuery
|
||||
}
|
||||
|
||||
if ($this->virtualTableIsHooked($name)) {
|
||||
return $this->joinHookedVirtualTable($this, $name);
|
||||
return $this->joinHookedVirtualTable($name);
|
||||
} else {
|
||||
return $this->joinVirtualTable($name);
|
||||
}
|
||||
@ -890,7 +890,7 @@ abstract class IdoQuery extends DbQuery
|
||||
*/
|
||||
protected function joinHookedVirtualTable($table)
|
||||
{
|
||||
$this->hookedVirtualTables[$table]->joinVirtualTable($table);
|
||||
$this->hookedVirtualTables[$table]->joinVirtualTable($this, $table);
|
||||
$this->joinedVirtualTables[$table] = true;
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user