* fix the error of login.

This commit is contained in:
wangchunsheng
2010-07-06 08:59:06 +00:00
parent 9c90f48436
commit df0ccf11f5

View File

@@ -296,7 +296,7 @@ class user extends control
}
/* 用户提交了登陆信息,则检查用户的身份。*/
if(!empty($_POST) or !empty($_GET))
if(!empty($_POST) or (isset($_GET['account']) and isset($_GET['password'])))
{
$account = '';
$password = '';