debuggage
This commit is contained in:
parent
568c1e8a62
commit
bbc61f7f0a
@ -67,7 +67,7 @@ while ($user = $doldb->result->fetch_assoc())
|
|||||||
$datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']);
|
$datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']);
|
||||||
$interval = new DateInterval('P0000Y02M00D');
|
$interval = new DateInterval('P0000Y02M00D');
|
||||||
$datefin->add($interval);
|
$datefin->add($interval);
|
||||||
if ( $datefin->getTimestamp() <= mktime() )
|
if ( $datefin->getTimestamp() <= time() )
|
||||||
{
|
{
|
||||||
echo "write_status( $insert, " . $user['login'] . ", 0 )";
|
echo "write_status( $insert, " . $user['login'] . ", 0 )";
|
||||||
}elseif ( $status == 0 )
|
}elseif ( $status == 0 )
|
||||||
|
Reference in New Issue
Block a user