Fix the dashboard device keys

This commit is contained in:
markjcrane
2016-06-21 17:57:06 -06:00
parent 5f60d5c896
commit 95dbb99bbe
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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";