MDL-23229 fixed tag image regression

This commit is contained in:
Petr Skoda 2010-07-12 16:44:51 +00:00
parent 7c70229eba
commit 6cf93b6bc5

View file

@ -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();