ProgrammStatusQuery: Add fallback if ido_version is older than required
resolves #9223
This commit is contained in:
parent
0e4201a997
commit
d1f1f5d7d7
|
@ -48,4 +48,13 @@ class ProgramstatusQuery extends IdoQuery
|
|||
'global_service_event_handler' => 'global_service_event_handler',
|
||||
)
|
||||
);
|
||||
|
||||
protected function joinBaseTables()
|
||||
{
|
||||
parent::joinBaseTables();
|
||||
|
||||
if (version_compare($this->getIdoVersion(), '1.11.7', '<')) {
|
||||
$this->columnMap['programstatus']['endpoint_name'] = '(0)';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue