Add PDO::FETCH_ASSOC to the fetchAll in the voicemail class.

This commit is contained in:
Mark Crane 2013-11-24 01:09:10 +00:00
parent baaec45d10
commit e3e79f9807
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@
//$sql .= "limit $this->rows_per_page offset $this->offset ";
$prep_statement = $this->db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll();
$result = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
$result_count = count($result);
unset ($prep_statement, $sql);
if ($result_count > 0) {