From 8047ab1d9d9cccc31ec50b0816e483be49cf5e92 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 9 Aug 2007 08:41:08 +0000 Subject: [PATCH] Using right_to_left() function MDL-10768 --- course/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/lib.php b/course/lib.php index da854df39f..f0f198f12e 100644 --- a/course/lib.php +++ b/course/lib.php @@ -2322,7 +2322,7 @@ function make_editing_buttons($mod, $absolute=false, $moveselect=true, $indent=- $leftright = ''; if (has_capability('moodle/course:update', get_context_instance(CONTEXT_COURSE, $mod->course))) { - if (get_string('thisdirection') == 'rtl') { // Exchange arrows on RTL + if (right_to_left()) { // Exchange arrows on RTL $rightarrow = 'left.gif'; $leftarrow = 'right.gif'; } else { -- 2.39.5