Warning: min(): Array must contain at least one element in /var/www/moodle/filter/toc/filter.php on line 154