Skip to content

Commit

Permalink
Merge pull request #916 from catalyst/issue915-MOODLE_405_STABLE
Browse files Browse the repository at this point in the history
issue #915: whitelist floor php function
  • Loading branch information
keevan authored Dec 13, 2024
2 parents c61b76b + c7f39de commit 9d03974
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/local/provider/expression_provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public function getFunctions(): array { // phpcs:ignore
ExpressionFunction::fromPhp('count', 'count'),
ExpressionFunction::fromPhp('format_time', 'format_time'),
ExpressionFunction::fromPhp('round', 'round'),
ExpressionFunction::fromPhp('floor', 'floor'),
ExpressionFunction::fromPhp('time', 'time'),
ExpressionFunction::fromPhp('userdate', 'userdate'),
ExpressionFunction::fromPhp('date', 'date'),
Expand Down

0 comments on commit 9d03974

Please sign in to comment.