mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update fax.php
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Copyright (C) 2015
|
Copyright (C) 2015-2016
|
||||||
All Rights Reserved.
|
All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -157,12 +157,11 @@
|
|||||||
$p->add("dialplan_detail_edit", 'temp');
|
$p->add("dialplan_detail_edit", 'temp');
|
||||||
|
|
||||||
//save the dialplan
|
//save the dialplan
|
||||||
$orm = new orm;
|
$database = new database;
|
||||||
$orm->name('dialplans');
|
$database->app_name = 'fax';
|
||||||
$orm->app_name = 'fax';
|
$database->app_uuid = '24108154-4ac3-1db6-1551-4731703a4440';
|
||||||
$orm->app_uuid = '24108154-4ac3-1db6-1551-4731703a4440';
|
$database->save($array);
|
||||||
$orm->save($array);
|
//$message = $database->message;
|
||||||
//$message = $orm->message;
|
|
||||||
|
|
||||||
//remove the temporary permission
|
//remove the temporary permission
|
||||||
$p->delete("dialplan_add", 'temp');
|
$p->delete("dialplan_add", 'temp');
|
||||||
|
|||||||
Reference in New Issue
Block a user