Update user_edit.php

This commit is contained in:
FusionPBX 2019-07-26 01:24:57 -06:00 committed by GitHub
parent 5e3143e527
commit 29aa2bfcb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -491,7 +491,8 @@
$p->add("user_setting_add", "temp");
$p->add("user_setting_edit", "temp");
$p->add("user_edit", "temp");
$p->add('user_group_add', 'temp');
//save the data
$database = new database;
$database->app_name = 'users';
@ -503,6 +504,7 @@
$p->delete("user_setting_add", "temp");
$p->delete("user_setting_edit", "temp");
$p->delete("user_edit", "temp");
$p->delete('user_group_add', 'temp');
//if call center installed
if ($action == 'edit' && permission_exists('user_edit') && file_exists($_SERVER["PROJECT_ROOT"]."/app/call_centers/app_config.php")) {