- Remove spaces and special characters from the name Softkey
This commit is contained in:
parent
d3aa9b7388
commit
898240e1d4
|
@ -803,7 +803,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
|
|||
break;
|
||||
case 'updateSoftKey':
|
||||
if (!empty($request['id'])) {
|
||||
$id_name = $request['id'];
|
||||
$id_name = preg_replace('/\s/', '', $request['id']);
|
||||
$this->sccp_conf_init[$id_name]['type'] = "softkeyset";
|
||||
foreach ($this->extconfigs->getextConfig('keyset') as $keyl => $vall) {
|
||||
if (!empty($request[$keyl])) {
|
||||
|
|
Loading…
Reference in a new issue