mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Initial implementation of DB class based on PDO MySQL driver
This commit is contained in:
parent
14e91b2e09
commit
cc271ee154
4 changed files with 559 additions and 2 deletions
|
|
@ -158,7 +158,7 @@ function executeQueryArray($query_id, $args = NULL, $arg_columns = NULL)
|
|||
{
|
||||
$oDB = DB::getInstance();
|
||||
$output = $oDB->executeQuery($query_id, $args, $arg_columns);
|
||||
if(isset($output->data) && !is_array($output->data) && countobj($output->data) > 0)
|
||||
if(isset($output->data) && is_object($output->data))
|
||||
{
|
||||
$output->data = array($output->data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue