From c464eda684e50b34871cc8bcd04661b1eb1e40ce Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 3 Apr 2009 07:41:40 +0000 Subject: [PATCH] get_string: MDL-18669 - fixing a screw-up spotted by Dongsheng. Thanks. --- lib/moodlelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 7942c66ea5..be746f941e 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -5541,7 +5541,7 @@ class string_manager { if (!is_null($this->installstrings) && in_array($identifier, $this->installstrings)) { $module = 'installer'; - array_unshift($locations, $this->dirroot . '/install/lang/'); + $locations = array_merge(array($this->dirroot . '/install/lang/' => ''), $locations); } if ($extralocations) { -- 2.39.5