mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Display new user stats only when new users found.
This commit is contained in:
@@ -62,7 +62,10 @@ class user_dashboard // plugin-folder + '_url'
|
|||||||
$month_end = strtotime('last day of last month', mktime(23,59,59));
|
$month_end = strtotime('last day of last month', mktime(23,59,59));
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
$sql->gen("SELECT user_id,user_ban,user_join FROM `#user` WHERE user_join BETWEEN ".$month_start." AND ".$month_end." AND user_ban = 0");
|
if(!$sql->gen("SELECT user_id,user_ban,user_join FROM `#user` WHERE user_join BETWEEN ".$month_start." AND ".$month_end." AND user_ban = 0"))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
while($row = $sql->fetch())
|
while($row = $sql->fetch())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user