Comment 3 for bug 1204309

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2479
Committed: http://gitorious.org/mahara/mahara/commit/036d82fb14a12f2f35c202a7e5d278d480541f30
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 036d82fb14a12f2f35c202a7e5d278d480541f30
Author: Nitish Bezzala <email address hidden>
Date: Sun Sep 8 05:19:41 2013 -0500

Edit forum post error if parent is deleted (Bug 1204309)

For Edit post, we can use the parent post to get the group or the topic details
even if the parent has the deleted flag set to 1. I am checking that the parent
is not deleted only for add post.

Since the get parent query is common to both add and edit post, I changed it to
search for a parent ignoring the deleted flag.

Change-Id: Ie0602d940d3c3b97e97159f8bfa540128c7f1f1d
Signed-off-by: Nitish Bezzala <email address hidden>