From 4d3a8e4a382b521e6775eb869bcfd5607572afd2 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sat, 30 Apr 2011 07:24:12 +0000 Subject: [PATCH] - remove the space. --- module/build/model.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/build/model.php b/module/build/model.php index f2b073d310..84a5ecfa17 100644 --- a/module/build/model.php +++ b/module/build/model.php @@ -46,7 +46,7 @@ class buildModel extends model ->leftJoin(TABLE_PRODUCT)->alias('t3')->on('t1.product = t3.id') ->where('t1.project')->eq((int)$projectID) ->andWhere('t1.deleted')->eq(0) - ->orderBy('t1.date DESC , t1.id desc') + ->orderBy('t1.date DESC, t1.id desc') ->fetchAll(); } @@ -69,7 +69,7 @@ class buildModel extends model ->where('project')->eq((int)$projectID) ->beginIF($productID)->andWhere('product')->eq((int)$productID)->fi() ->andWhere('deleted')->eq(0) - ->orderBy('date desc , id desc')->fetchPairs(); + ->orderBy('date desc, id desc')->fetchPairs(); if(!$builds) return $sysBuilds; $releases = $this->dao->select('build,name')->from(TABLE_RELEASE) ->where('build')->in(array_keys($builds)) @@ -96,7 +96,7 @@ class buildModel extends model $builds = $this->dao->select('id,name')->from(TABLE_BUILD) ->where('product')->eq((int)$productID) ->andWhere('deleted')->eq(0) - ->orderBy('date desc , id desc')->fetchPairs(); + ->orderBy('date desc, id desc')->fetchPairs(); if(!$builds) return $sysBuilds; return $sysBuilds + $builds; }