See https://reviews.mahara.org/968 - this fix is going to master only, but leaving the 1.4 patch here in case anyone else needs it.
See https:/ /reviews. mahara. org/968 - this fix is going to master only, but leaving the 1.4 patch here in case anyone else needs it.