]> git.mjollnir.org Git - moodle.git/commitdiff
fixing missing $
authortoyomoyo <toyomoyo>
Tue, 26 Sep 2006 01:50:17 +0000 (01:50 +0000)
committertoyomoyo <toyomoyo>
Tue, 26 Sep 2006 01:50:17 +0000 (01:50 +0000)
backup/restorelib.php

index f692acb877c264c995746bfa84d38cf4c11494ff..c078744cda9c6892fb5e6ebd582a09ec5de652ee 100644 (file)
                             case "USERID":
                                 $this->info->roleassignments[$this->info->tempshortname]->name = $this->info->tempname;
                                 $this->info->roleassignments[$this->info->tempshortname]->shortname = $this->info->tempshortname;
-                                $this->info->tempuser = this->getContents();
+                                $this->info->tempuser = $this->getContents();
                                 $this->info->roleassignments[$this->info->tempshortname]->assignments[$this->info->tempuser]->userid = $this->getContents();
                             break;
                             case "HIDDEN":
                             case "NAME":
                                 $this->info->roleoverrides[$this->info->tempshortname]->name = $this->info->tempname;
                                 $this->info->roleoverrides[$this->info->tempshortname]->shortname = $this->info->tempshortname;
-                                $this->info->tempname = this->getContents(); // change to name of capability
+                                $this->info->tempname = $this->getContents(); // change to name of capability
                                 $this->info->roleoverrides[$this->info->tempshortname]->overrides[$this->info->tempname]->name = $this->getContents();
                             break;
                             case "PERMISSION":