]> git.mjollnir.org Git - moodle.git/commitdiff
Uninitialized variable
authordonal72 <donal72>
Wed, 12 Sep 2007 03:25:43 +0000 (03:25 +0000)
committerdonal72 <donal72>
Wed, 12 Sep 2007 03:25:43 +0000 (03:25 +0000)
lib/moodlelib.php

index 2919c93336a0a7c83678ba03c32219c59ba979a9..2d9b13c3b7a21ecb3a77722e2ddfbb702588c9fa 100644 (file)
@@ -2554,6 +2554,7 @@ function create_guest_record() {
 
     global $CFG;
 
+    $guest = new stdClass();
     $guest->auth        = 'manual';
     $guest->username    = 'guest';
     $guest->password    = hash_internal_user_password('guest');