mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Follow up fix for MDL-11535 "Blog block sql error" - ...MAX(ordering) max_order - adding "AS"
This commit is contained in:
parent
87d52a0a30
commit
932e97ea6d
@ -378,7 +378,7 @@ function tag_an_item($item_type, $item_id, $tag_names_or_ids_csv, $tag_type="def
|
||||
//tag instances of an item are ordered, get the last one
|
||||
$query = "
|
||||
SELECT
|
||||
MAX(ordering) max_order
|
||||
MAX(ordering) AS max_order
|
||||
FROM
|
||||
{$CFG->prefix}tag_instance ti
|
||||
WHERE
|
||||
|
Loading…
x
Reference in New Issue
Block a user