2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Remove references to extension_password as now password in extension table

This commit is contained in:
Adam Zammit
2014-09-17 10:45:53 +10:00
parent 9a48d80eb1
commit 2d42c674f9
3 changed files with 5 additions and 5 deletions

View File

@@ -860,12 +860,12 @@ function get_extension_password($operator_id)
{
global $db;
$sql = "SELECT e.extension_password
$sql = "SELECT e.password
FROM `extension` as e
WHERE e.current_operator_id = '$operator_id'";
$rs = $db->GetRow($sql);
if (!empty($rs) && isset($rs['extension_password'])) return $rs['extension_password'];
if (!empty($rs) && isset($rs['password'])) return $rs['password'];
return false;
}