]> git.mjollnir.org Git - moodle.git/commitdiff
Better fix
authormoodler <moodler>
Sat, 3 Jan 2004 06:31:23 +0000 (06:31 +0000)
committermoodler <moodler>
Sat, 3 Jan 2004 06:31:23 +0000 (06:31 +0000)
login/index.php

index e01a807e70a3e79a39ec730d69cec6970f9ce396..98deab3ef93b84fc010c23b5f9af7222118ef75f 100644 (file)
@@ -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