From: moodler Date: Sat, 3 Jan 2004 06:31:23 +0000 (+0000) Subject: Better fix X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dfa1fbac6dfab48a7c647cce7f64f1d747da0638;p=moodle.git Better fix --- diff --git a/login/index.php b/login/index.php index e01a807e70..98deab3ef9 100644 --- a/login/index.php +++ b/login/index.php @@ -43,7 +43,9 @@ } $USER = $user; - $USER->description = ""; // No need to cart this around + if (!empty($USER->description)) { + $USER->description = true; // No need to cart all of it around + } $USER->loggedin = true; $USER->site = $CFG->wwwroot; // for added security