MDL-61650 assign: More consistent empty text
authorDamyon Wiese <damyon@moodle.com>
Fri, 3 Aug 2018 08:52:31 +0000 (16:52 +0800)
committerDamyon Wiese <damyon@moodle.com>
Fri, 3 Aug 2018 08:52:31 +0000 (16:52 +0800)
commit8cee90e3bfa308424b077e8b385c96dd80a78e55
tree98a3e91f490bb7114bbd828db70d6379e2f1d7be
parent6e8235c7d3957120f16f5b9d4df8ef1ec82558b5
MDL-61650 assign: More consistent empty text

Consistently check for empty submissions with count_words(trim($text)).
mod/assign/submission/onlinetext/locallib.php