]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed copy/paste typo. MDL-11341 ;-) ; merged from 19_STABLE
authorstronk7 <stronk7>
Fri, 11 Jan 2008 17:21:53 +0000 (17:21 +0000)
committerstronk7 <stronk7>
Fri, 11 Jan 2008 17:21:53 +0000 (17:21 +0000)
admin/settings/language.php

index 8d0b7f8c07531af0383571353c5c52b18a6cb094..51fd03c8aed2f7075b6b13fc13e8394b12d3169e 100644 (file)
@@ -2,9 +2,9 @@
 
 // This file defines settingpages and externalpages under the "appearance" category
 
-if ($hassiteconfig 
+if ($hassiteconfig
     or has_capability('moodle/site:langeditmaster', $systemcontext)
-    or has_capability('moodle/site:langeditmaster', $systemcontext)) { // speedup for non-admins, add all caps used on this page
+    or has_capability('moodle/site:langeditlocal', $systemcontext)) { // speedup for non-admins, add all caps used on this page
 
     // "languageandlocation" settingpage
     $temp = new admin_settingpage('langsettings', get_string('languagesettings', 'admin'));