mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Fix the dashboard device keys
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
|
||||
//get device keys
|
||||
$sql = "SELECT device_uuid, device_profile_uuid FROM v_devices ";
|
||||
$sql .= "WHERE user_uuid = '".$_SESSION['user_uuid']."' ";
|
||||
$sql .= "WHERE device_user_uuid = '".$_SESSION['user_uuid']."' ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
$row = $prep_statement->fetch(PDO::FETCH_NAMED);
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Copyright (C) 2008-2015 All Rights Reserved.
|
||||
Copyright (C) 2008-2016 All Rights Reserved.
|
||||
|
||||
*/
|
||||
require_once "root.php";
|
||||
|
||||
Reference in New Issue
Block a user