applying nick's patch to MDL-8534, typo in restorelib.php

This commit is contained in:
toyomoyo
2007-02-20 01:06:20 +00:00
parent f800bf46f6
commit 7b8c690ecf
+3 -3
View File
@@ -4696,7 +4696,7 @@
break;
}
}
if ($this->level == 6 && $this->tree[5]!="ROLE_ASSIGNMENTS" && $this->tree[5]!="ROLE_OVERRIDES") {
if ($this->level == 6 && $this->tree[5]!="ROLES_ASSIGNMENTS" && $this->tree[5]!="ROLES_OVERRIDES") {
switch ($tagName) {
case "ROLE":
//We've finalized a role, get it
@@ -4711,7 +4711,7 @@
}
}
if ($this->level == 7 && $this->tree[5]!="ROLE_ASSIGNMENTS" && $this->tree[5]!="ROLE_OVERRIDES") {
if ($this->level == 7) {
switch ($tagName) {
case "TYPE":
$this->info->temprole->type = $this->getContents();
@@ -6743,4 +6743,4 @@
fclose($restorelog);
}
}
?>
?>