git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3247
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$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';