mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
cea03cbd43
* We need to use is_numeric() in this case as is_int() would never return true. * Extend the supported cases, add support for SQL consisting just of numerical value or selectinga numerical constant. * Do not rely on any particulat letter case in provided SQL. * Add unit tests for the new method. Even when it is a protected one, it is an essential unit to be tested on its own.