Issue 1851: Fix PHP Warnings and notices in DB Classes

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10537 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2012-04-06 09:47:45 +00:00
parent 23e508e1b8
commit 1bc92129b0
31 changed files with 164 additions and 89 deletions

View file

@ -25,7 +25,8 @@
, $conditions = null
, $groups = null
, $orderby = null
, $limit = null){
, $limit = null
, $priority = null){
$this->queryID = $queryID;
$this->action = $action;
$this->priority = $priority;
@ -313,8 +314,8 @@
if(count($this->columns) > 0){ // The if is for delete statements, all others must have columns
foreach($this->columns as $column){
if($column->show()){
$arg = $column->getArgument();
if($arg) $this->arguments[] = $arg;
$args = $column->getArguments();
if($args) $this->arguments = array_merge($this->arguments, $args);
}
}
}
@ -339,4 +340,4 @@
?>
?>