mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
MDL-23229 fixed tag image regression
This commit is contained in:
parent
7c70229eba
commit
6cf93b6bc5
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ if ($component === 'blog') {
|
||||||
require_login();
|
require_login();
|
||||||
}
|
}
|
||||||
|
|
||||||
$fullpath = "/$context->id/tage/description/".implode('/', $args);
|
$fullpath = "/$context->id/tag/description/".implode('/', $args);
|
||||||
|
|
||||||
if (!$file = $fs->get_file_by_hash(sha1($fullpath)) or $file->is_directory()) {
|
if (!$file = $fs->get_file_by_hash(sha1($fullpath)) or $file->is_directory()) {
|
||||||
send_file_not_found();
|
send_file_not_found();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue