Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -62,7 +62,7 @@ class _clubrebuild extends \IPS\Task
|
||||
$nodeClass = $node['node_class'];
|
||||
$node = $nodeClass::load( $node['node_id'] );
|
||||
|
||||
if ( $lastCommentTime = $node->getLastCommentTime() and $lastCommentTime->getTimestamp() > $club->last_activity )
|
||||
if ( $lastCommentTime = $node->getLastCommentTime( new \IPS\Member ) and $lastCommentTime->getTimestamp() > $club->last_activity )
|
||||
{
|
||||
$club->last_activity = $lastCommentTime->getTimestamp();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user