Fix assignment sccp_compatible

Sccpvalues key and keyword must be same or causes hidden DB warnings because of duplicate primary keys after write / read / write
This commit is contained in:
steve-lad 2021-02-09 12:43:26 +01:00
parent 2f854e7273
commit b3d31b669a

View file

@ -1735,7 +1735,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
}
}
$this->sccpvalues['sccp_compatible'] = array('keyword' => 'compatible', 'data' => $ver_id, 'type' => '1', 'seq' => '99');
$this->sccpvalues['sccp_compatible'] = array('keyword' => 'sccp_compatible', 'data' => $ver_id, 'type' => '1', 'seq' => '99');
$this->sccppath = $this->extconfigs->validate_init_path($confDir, $this->sccpvalues, $sccp_driver_replace);
$driver = $this->FreePBX->Core->getAllDriversInfo(); // ??????