From 38a1e55d8aa827c94149543dab37bb10cc591596 Mon Sep 17 00:00:00 2001 From: jmg324 Date: Wed, 10 Oct 2007 16:02:45 +0000 Subject: [PATCH] MDL-10296 adding in the global for https --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 197f921eb0..ecc8af12ab 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3805,7 +3805,7 @@ function print_file_picture($path, $courseid=0, $height='', $width='', $link='', * @todo Finish documenting this function */ function print_user_picture($user, $courseid, $picture=NULL, $size=0, $return=false, $link=true, $target='', $alttext=true) { - global $CFG; + global $CFG, $HTTPSPAGEREQUIRED; $needrec = false; // only touch the DB if we are missing data... -- 2.39.5