修改namespace 小写为大写,添加了历史offlineapp信息记录的调用

This commit is contained in:
Li Jianxuan 2013-08-28 01:49:27 +00:00
parent 8329e665a8
commit 849918408b
2 changed files with 2 additions and 2 deletions

View File

@ -1854,7 +1854,7 @@ class DataController extends Zend_Controller_Action
//$this->_redirect('/data/order'); //$this->_redirect('/data/order');
} }
} else { } else {
$sql="select u.* from users u left join offlineapp o on u.id=o.userid where u.id=?"; $sql="select u.*,o.* from users u left join offlineapp o on u.id=o.userid where u.id=? ORDER BY o.id DESC";
$row=$this->db->fetchRow($sql,array($userid)); $row=$this->db->fetchRow($sql,array($userid));
/*$row=$ut->fetchRow('id='.$userid); /*$row=$ut->fetchRow('id='.$userid);
$formData['email']=$row->email; $formData['email']=$row->email;

View File

@ -1,5 +1,5 @@
<?php <?php
namespace order; namespace Order;
use Helpers\View as view; use Helpers\View as view;