Commit 8d0d319f by pupi1985

Fixed an issue which resulted in wrong sorting of the activity list

parent 130339cb
...@@ -960,8 +960,12 @@ ...@@ -960,8 +960,12 @@
(!@$laterquestion['opersonal']) && // the other one was not personal (!@$laterquestion['opersonal']) && // the other one was not personal
(abs($laterquestion['_time']-$question['_time'])<300) // the two events were within 5 minutes of each other (abs($laterquestion['_time']-$question['_time'])<300) // the two events were within 5 minutes of each other
) )
) ) {
if (isset($laterquestion)) {
unset($keepquestions[$question['postid']]);
}
$keepquestions[$question['postid']]=$question; $keepquestions[$question['postid']]=$question;
}
} }
return $keepquestions; return $keepquestions;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment