Update fax.php

This commit is contained in:
FusionPBX
2016-10-23 00:20:29 -06:00
committed by GitHub
parent 12f2214194
commit cb2e0df06c

View File

@@ -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');