minor fix
This commit is contained in:
parent
749a1d3b10
commit
22b2b327fe
|
@ -41,7 +41,7 @@ class member
|
||||||
else{
|
else{
|
||||||
$sql = "select username,password from users where username='$uname'";
|
$sql = "select username,password from users where username='$uname'";
|
||||||
$rs = $this->db->query($sql);
|
$rs = $this->db->query($sql);
|
||||||
$this->db->setFetchMode(Zend_Db::FETCH_ASSOC);
|
$rs->setFetchMode(Zend_Db::FETCH_ASSOC);
|
||||||
$row = $rs->fetch();
|
$row = $rs->fetch();
|
||||||
$scr = $this->makescr($row['username'],$row['password']);
|
$scr = $this->makescr($row['username'],$row['password']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue