Project: moodle
Issue MDL-43005: tag param in blog index page should be strictly checked
we have {code} $DB->get_record_sql("SELECT * FROM {tag} WHERE ". $DB->sql_like('name', '?', false), array("%$tag%") {code} Which returns error like {code} Error: mdb->get_record() found more than one record! line 1427 of /lib/dml/moodle_database.php: call to debugging() line 43 of /blog/index.php: call to moodle_database->get_record_sql() {code} when we have two tags similar to each other. For example: - tag and tagtest
Story points: 4