mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Fix the sql query tool for mysql.
This commit is contained in:
@@ -147,7 +147,8 @@ else {
|
||||
$prep_statement->execute();
|
||||
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||
foreach ($result as &$row) {
|
||||
echo " <option value='".$row['name']."'>".$row['name']."</option>\n";
|
||||
$row = array_values($row);
|
||||
echo " <option value='".$row[0]."'>".$row[0]."</option>\n";
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo " \n";
|
||||
|
||||
Reference in New Issue
Block a user