Fix typo in select() method switch statement.
This commit is contained in:
parent
5541785b95
commit
32b04431f7
|
|
@ -961,7 +961,7 @@ include "root.php";
|
|||
return $prep_statement->fetchAll(PDO::FETCH_ASSOC);
|
||||
case 'row':
|
||||
return $prep_statement->fetch(PDO::FETCH_ASSOC);
|
||||
case 'column';
|
||||
case 'column':
|
||||
return $prep_statement->fetchColumn();
|
||||
default:
|
||||
return $prep_statement->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
|
|
|||
Loading…
Reference in New Issue