projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8717bf1
)
Don't call setTextdomain() if $app is empty (throws an error)
author
Chuck Hagenbuch
<chuck@horde.org>
Sat, 21 Aug 2010 00:25:50 +0000
(20:25 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Sat, 21 Aug 2010 00:25:50 +0000
(20:25 -0400)
framework/Core/lib/Horde/Registry.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Registry.php
b/framework/Core/lib/Horde/Registry.php
index
dba3cf9
..
6ed918c
100644
(file)
--- a/
framework/Core/lib/Horde/Registry.php
+++ b/
framework/Core/lib/Horde/Registry.php
@@
-1233,11
+1233,11
@@
class Horde_Registry
$app = $this->getApp();
if ($app) {
$this->_onAppSwitch($app);
+ $this->setTextdomain(
+ $app,
+ $this->get('fileroot', $app) . '/locale'
+ );
}
- $this->setTextdomain(
- $app,
- $this->get('fileroot', $app) . '/locale'
- );
return $previous;
}