-
Bug
-
Resolution: Fixed
-
Blocker
-
2.8
-
MOODLE_28_STABLE
-
MOODLE_27_STABLE
-
MDL-47916-master -
This is a strange issue caused by values returned by the core function:
forum_get_all_discussion_posts
It seems that some times that core function returns a postread attribute with values true, false or the ID of the row in the forum_read table
I don't understand very well what is the reason, but in any case, the external function should format the returned value of this function in order to ensure that the returned value is a boolean
Note: This was detected when testing the Mobile app with moodle.org