Version 5.0.0 beta 4
This commit is contained in:
1 parent
e86153356a
commit
2f24f9de48
276 files changed
+8614
-6044
No files matched your search
@@ -822,11 +822,14 @@ class Forum extends Model implements Permissions
|
||||
{
|
||||
if( is_array( $childLastPost ) )
|
||||
{
|
||||
if( !isset( $childLastPost['date'] ) )
|
||||
if( isset( $childLastPost['date'] ) )
|
||||
{
|
||||
$childLastPost = array_shift( $childLastPost );
|
||||
$results[$childLastPost['date']] = $childLastPost;
|
||||
}
|
||||
else
|
||||
{
|
||||
$results = $results + $childLastPost;
|
||||
}
|
||||
$results[$childLastPost['date']] = $childLastPost;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user