Version 5.0.0 beta 9
This commit is contained in:
1 parent
214f649f1d
commit
56979f8ee8
202 files changed
+4403
-1123
No files matched your search
@@ -624,6 +624,12 @@ class Category extends Model implements Permissions
|
||||
*/
|
||||
protected function _setLastComment( Comment $comment=NULL, Item $updatedItem=NULL ) : void
|
||||
{
|
||||
/* This can happen if we comment directly on an album. */
|
||||
if( !( $updatedItem instanceof Image ) )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$this->setLastImage( $updatedItem );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user