mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-34873 fix multiple E_STRICT tag related problems
This commit is contained in:
parent
c92d6f417c
commit
7c2cc9c85e
4 changed files with 9 additions and 4 deletions
|
@ -261,7 +261,8 @@ function tag_print_search_results($query, $page, $perpage, $return=false) {
|
|||
|
||||
global $CFG, $USER, $OUTPUT;
|
||||
|
||||
$query = array_shift(tag_normalize($query, TAG_CASE_ORIGINAL));
|
||||
$norm = tag_normalize($query, TAG_CASE_ORIGINAL);
|
||||
$query = array_shift($norm);
|
||||
|
||||
$count = sizeof(tag_find_tags($query, false));
|
||||
$tags = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue