mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
5954a9de10
I also fixed the text rule, which already did this, to use the same idiom. It is unnecessarily inefficient to count all the things and compare to 0. Not exists should be faster. Also, updated all the selectors here to consistently start relative to the current node (.//, not //).