Version 5.0.0 beta 5
This commit is contained in:
1 parent
2f24f9de48
commit
57d9db6ce2
218 files changed
+5331
-7416
No files matched your search
@@ -188,4 +188,14 @@ class CustomItem extends FrontNavigationAbstract
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Is Active?
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function active(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -173,7 +173,7 @@ class Lastvisit extends MemberFilterAbstract
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
$lastVisit = DateTime::ts( max( $member->last_visit, $member->last_activity ) );
|
||||
$lastVisit = DateTime::ts( max( (int) $member->last_visit, (int) $member->last_activity ) );
|
||||
|
||||
if( !empty( $filters['range'] ) AND !empty( $filters['range']['end'] ) )
|
||||
{
|
||||
|
||||
@@ -228,7 +228,7 @@ class RebuildSearchIndex extends QueueAbstract
|
||||
try
|
||||
{
|
||||
$index = TRUE;
|
||||
if ( IPS::classUsesTrait( $item, 'IPS\Content\FuturePublishing' ) AND !$item->isFutureDate() )
|
||||
if ( IPS::classUsesTrait( $item, 'IPS\Content\FuturePublishing' ) AND $item->isFutureDate() )
|
||||
{
|
||||
$index = FALSE;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user