From 0c660770360711539c40115e7a64b4b57f0767f9 Mon Sep 17 00:00:00 2001 From: stekkel Date: Sun, 4 Aug 2002 11:56:55 +0000 Subject: [PATCH] extra Check for DIR value git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3247 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/webmail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webmail.php b/src/webmail.php index 2a4e0cdc..86df9f81 100644 --- a/src/webmail.php +++ b/src/webmail.php @@ -49,7 +49,8 @@ echo "\n" . $left_size = getPref($data_dir, $username, 'left_size'); $location_of_bar = getPref($data_dir, $username, 'location_of_bar'); -if (strtolower($languages[$squirrelmail_language]['DIR']) == 'rtl') { +if (isset($languages[$squirrelmail_language]['DIR']) && + strtolower($languages[$squirrelmail_language]['DIR']) == 'rtl') { $temp_location_of_bar = 'right'; } else { $temp_location_of_bar = 'left'; -- 2.25.1