Update ring_group_edit.php

This commit is contained in:
FusionPBX 2016-10-16 10:43:00 -06:00 committed by GitHub
parent f3e3a80957
commit ba4b6b0b41
1 changed files with 7 additions and 7 deletions

View File

@ -309,15 +309,15 @@
$p->add("dialplan_edit", "temp"); $p->add("dialplan_edit", "temp");
//save to the data //save to the data
$orm = new orm; $database = new database;
//$orm->name('ring_groups'); //$d->name('ring_groups');
$orm->app_name = 'ring_groups'; $database->app_name = 'ring_groups';
$orm->app_uuid = '1d61fb65-1eec-bc73-a6ee-a6203b4fe6f2'; $database->app_uuid = '1d61fb65-1eec-bc73-a6ee-a6203b4fe6f2';
if (strlen($ring_group_uuid) > 0) { if (strlen($ring_group_uuid) > 0) {
$orm->uuid($ring_group_uuid); $database->uuid($ring_group_uuid);
} }
$orm->save($array); $database->save($array);
$message = $orm->message; $message = $database->message;
//remove the temporary permission //remove the temporary permission
$p->delete("dialplan_add", "temp"); $p->delete("dialplan_add", "temp");