mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
* 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.