Skip to content

Commit

Permalink
Remove a notice
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Apr 1, 2005
1 parent d996955 commit 5485e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/weblib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ function print_footer($course=NULL, $usercourse=NULL) {

include ($CFG->themedir.$CFG->theme.'/footer.html');

if ($CFG->perfdebug && function_exists('memory_get_usage')) {
if (!empty($CFG->perfdebug) && function_exists('memory_get_usage')) {
error_log("Page $_SERVER[REQUEST_URI] completed. Memory allocated: "
. memory_get_usage());
}
Expand Down

0 comments on commit 5485e65

Please sign in to comment.