mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
r8032 fixed executeQuery function argument
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8326 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5b57c2a6f5
commit
04fb1e0e06
1 changed files with 4 additions and 4 deletions
|
|
@ -180,9 +180,9 @@
|
|||
* @param argument values of args object
|
||||
* @return results
|
||||
**/
|
||||
function executeQuery($query_id, $args = null) {
|
||||
function executeQuery($query_id, $args = null, $arg_columns = null) {
|
||||
$oDB = &DB::getInstance();
|
||||
return $oDB->executeQuery($query_id, $args);
|
||||
return $oDB->executeQuery($query_id, $args, $arg_columns);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -191,9 +191,9 @@
|
|||
* @param argument values of args object
|
||||
* @return results
|
||||
**/
|
||||
function executeQueryArray($query_id, $args = null) {
|
||||
function executeQueryArray($query_id, $args = null, $arg_columns = null) {
|
||||
$oDB = &DB::getInstance();
|
||||
$output = $oDB->executeQuery($query_id, $args);
|
||||
$output = $oDB->executeQuery($query_id, $args, $arg_columns);
|
||||
if(!is_array($output->data) && count($output->data) > 0){
|
||||
$output->data = array($output->data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue