allow admin to remember the login

This commit is contained in:
wlx 2012-04-16 09:40:18 +00:00
parent 1a93953fe1
commit 52d70da5d1
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ class AccountController extends Zend_Controller_Action
$sql="select usertype from users where username='$u'"; $sql="select usertype from users where username='$u'";
$rs=$db->query($sql); $rs=$db->query($sql);
$row=$rs->fetch(); $row=$rs->fetch();
if($row['usertype']!='administrator') //if($row['usertype']!='administrator')
{ {
require_once 'member.php'; require_once 'member.php';
$mb = new member(); $mb = new member();