From dfa1fbac6dfab48a7c647cce7f64f1d747da0638 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 3 Jan 2004 06:31:23 +0000 Subject: [PATCH] Better fix --- login/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5