* change date('Y-m-j') to date('Y-m-d').
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
{
|
||||
$type = 'today';
|
||||
}
|
||||
else if($date == date('Y-m-j', strtotime('-1 day')))
|
||||
else if($date == date('Y-m-d', strtotime('-1 day')))
|
||||
{
|
||||
$type = 'yesterday';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user