summaryrefslogtreecommitdiff
path: root/modules/gallery
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2010-02-07 15:06:14 -0800
committerAndy Staudacher <andy.st@gmail.com>2010-02-07 15:06:14 -0800
commit18b0096751f45d7946a2277070dd3dd1f5db4a89 (patch)
tree1332bf7d45aae66a257932f2c495facc74481140 /modules/gallery
parent370e0e2f32e5092e1655116edbea9a607c6ed85a (diff)
parentd6beef86132f1c73170a3957db84b716c538c07e (diff)
Merge commit 'upstream/master'
Diffstat (limited to 'modules/gallery')
-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 . "_");