mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update database.php
This commit is contained in:
@@ -32,7 +32,7 @@ class plugin_database {
|
||||
//check the username and password if they don't match then redirect to the login
|
||||
$sql = "select * from v_users ";
|
||||
if (strlen($this->key) > 30) {
|
||||
$sql .= "where api_key = :key ";
|
||||
$sql .= "where api_key = :api_key ";
|
||||
$parameters['api_key'] = $this->key;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user