summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-07 14:17:58 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-07 14:17:58 -0800
commit6783de24572eb3a84dd43d125686b5f1df33f305 (patch)
treee85bc92c289c0560f3313712c9ae78d6caecd979
parenta54a81f9c77cde8ab4105b52c1864298c819422f (diff)
Remove the redundant reference to ["force_rtl".
-rw-r--r--modules/gallery/libraries/Gallery_I18n.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/Gallery_I18n.php b/modules/gallery/libraries/Gallery_I18n.php
index 1eacad5b..cfed046a 100644
--- a/modules/gallery/libraries/Gallery_I18n.php
+++ b/modules/gallery/libraries/Gallery_I18n.php
@@ -88,7 +88,7 @@ class Gallery_I18n_Core {
}
public function is_rtl($locale=null) {
- $is_rtl = !empty($this->_config["force_rtl"]) and $this->_config["force_rtl"];
+ $is_rtl = !empty($this->_config["force_rtl"]);
if (empty($is_rtl)) {
$locale or $locale = $this->locale();
list ($language, $territory) = explode('_', $locale . "_");