Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a4181a
)
MDL-23156 incorrect itemid test in legacy browser
author
Petr Skoda
<skodak@moodle.org>
Fri, 9 Jul 2010 08:13:23 +0000
(08:13 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Fri, 9 Jul 2010 08:13:23 +0000
(08:13 +0000)
lib/filebrowser/file_info_context_course.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/filebrowser/file_info_context_course.php
b/lib/filebrowser/file_info_context_course.php
index
b2e08d1
..
fe8e834
100644
(file)
--- a/
lib/filebrowser/file_info_context_course.php
+++ b/
lib/filebrowser/file_info_context_course.php
@@
-141,7
+141,7
@@
class file_info_context_course extends file_info {
// bad luck, legacy course files not used any more
}
- if (
empty
($itemid)) {
+ if (
is_null
($itemid)) {
return $this;
}