~ubuntu-branches/ubuntu/trusty/fusionforge/trusty

« back to all changes in this revision

Viewing changes to common/tracker/ArtifactFactory.class.php

  • Committer: Bazaar Package Importer
  • Author(s): Roland Mas
  • Date: 2011-04-15 14:55:34 UTC
  • mfrom: (4.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20110415145534-mvn1nochufjmw177
Tags: 5.0.3-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
341
341
                //if assigned to selected, and more to where clause
342
342
                if ($this->assigned_to) {
343
343
                        if (is_array($this->assigned_to)) {
344
 
                                $wheresql .= 'AND assigned_to = ANY ($'.$paramcount++ ;
 
344
                                $wheresql .= ' AND assigned_to = ANY ($'.$paramcount++.')';
345
345
                                $params[] = db_int_array_to_any_clause ($this->assigned_to) ;
346
 
                                $wheresql .= ')' ;
347
346
                        } else {
348
 
                                $wheresql .= 'AND assigned_to = $'.$paramcount++ ;
 
347
                                $wheresql .= ' AND assigned_to = $'.$paramcount++ ;
349
348
                                $params[] = $this->assigned_to ;
350
349
                        }
351
350
                }