From 014834e40b6d63f88a6e613c55e8caf2acb40bc5 Mon Sep 17 00:00:00 2001
From: toyomoyo <toyomoyo>
Date: Tue, 31 Jul 2007 03:28:30 +0000
Subject: [PATCH] fixing print_grade_plugin_selector() to point to
 edit/courseoutcomes

---
 grade/lib.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/grade/lib.php b/grade/lib.php
index b5da2e4129..3a680743e8 100644
--- a/grade/lib.php
+++ b/grade/lib.php
@@ -122,11 +122,11 @@ function print_grade_plugin_selector($courseid, $active_type, $active_plugin, $r
         }
 
         if (has_capability('course:update', $context)) {
-            $url = 'edit/favoutcomes/index.php?id='.$courseid;
-            if ($active_type == 'edit' and $active_plugin == 'favoutcomes' ) {
+            $url = 'edit/courseoutcomes/index.php?id='.$courseid;
+            if ($active_type == 'edit' and $active_plugin == 'courseoutcomes' ) {
                 $active = $url;
             }
-            $menu[$url] = get_string('favouriteoutcomes', 'grades');
+            $menu[$url] = get_string('courseoutcomes', 'grades');
         }
     }
 
-- 
2.39.5