mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
BugFix-bad ref to $db in switch_recordings (#1636)
This commit is contained in:
@@ -51,7 +51,7 @@ include "root.php";
|
||||
public function list_recordings() {
|
||||
$sql = "select recording_uuid, recording_filename, recording_base64 from v_recordings ";
|
||||
$sql .= "where domain_uuid = '".$this->domain_uuid."' ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement = $this->db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||
foreach ($result as &$row) {
|
||||
|
||||
Reference in New Issue
Block a user