Hello,
I have got an error in the IP Plotting that says in my Moodle version 1.4.3+.:
Notice: Undefined index: lastquery in moodle/lib/ipatlas/plot.php on line 21
I made it check if there is such a GET parameter and if yes, clean it, by changing the line 21 to
if( isset($HTTP_GET_VARS["lastquery"])) {
$HTTP_GET_VARS["lastquery"] = clean_param($HTTP_GET_VARS["lastquery"], PARAM_HOST);
}
Now the script shows no errors. Its normal operation will not be affected by this check.
I hope the right developer of this part of Moodle will implement this, so that this fix will follow the coming versions (if it has not been done yet )
Happy New Year!
BR
Jens Gammelgaard
Moodle Professional