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:
428540d
)
MDL-23695 fixed yet another PAGE->context issue
author
Petr Skoda
<skodak@moodle.org>
Mon, 9 Aug 2010 08:21:45 +0000
(08:21 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Mon, 9 Aug 2010 08:21:45 +0000
(08:21 +0000)
iplookup/index.php
patch
|
blob
|
blame
|
history
diff --git
a/iplookup/index.php
b/iplookup/index.php
index
0f0b34e
..
1c5848f
100644
(file)
--- a/
iplookup/index.php
+++ b/
iplookup/index.php
@@
-40,6
+40,7
@@
if (isset($CFG->iplookup)) {
$PAGE->set_url('/iplookup/index.php', array('id'=>$ip, 'user'=>$user));
$PAGE->set_pagelayout('popup');
+$PAGE->set_context(get_context_instance(CONTEXT_SYSTEM));
$info = array($ip);
$note = array();