fix error

This commit is contained in:
wlx 2014-06-11 07:43:18 +00:00
parent 6665c20700
commit 90b75f1495
1 changed files with 1 additions and 1 deletions

View File

@ -1087,7 +1087,7 @@ class Admin_DownController extends Zend_Controller_Action
$select->from('dataorder as o','count(o.id) as num') $select->from('dataorder as o','count(o.id) as num')
->join('users as u', 'u.id = o.userid', array('realname','id as uid','unit')) ->join('users as u', 'u.id = o.userid', array('realname','id as uid','unit'))
->where('o.status=0 or o.status=5') ->where('o.status=0 or o.status=5')
->where("o.uuid in (select uuid from $submd)"); ->where("o.uuid in (select uuid from $submd)")
->where('o.userid = u.id'); ->where('o.userid = u.id');
if(!empty($search) && !empty($keyword)) if(!empty($search) && !empty($keyword))
{ {