From: skodak Date: Sun, 17 Aug 2008 22:23:19 +0000 (+0000) Subject: MDL-16066 fixed apache log typo - thanks Neil Streeter X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=20e9d26f839462efac4c0e09194ba3974782c819;p=moodle.git MDL-16066 fixed apache log typo - thanks Neil Streeter --- diff --git a/lib/setup.php b/lib/setup.php index 97dc128ad4..3d2c82902a 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -493,7 +493,7 @@ global $HTTPSPAGEREQUIRED; /// Apache log intergration. In apache conf file one can use ${MOODULEUSER}n in /// LogFormat to get the current logged in username in moodle. if ($USER && function_exists('apache_note') - && !empty($CFG->apacheloguser) && isset($user->username)) { + && !empty($CFG->apacheloguser) && isset($USER->username)) { $apachelog_userid = $USER->id; $apachelog_username = clean_filename($USER->username); $apachelog_name = '';