projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ac6e1
)
Bug #9507: Only do language change callback to authenticated apps
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 12 Jan 2011 19:03:44 +0000
(12:03 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 12 Jan 2011 19:03:57 +0000
(12:03 -0700)
horde/lib/Prefs/Ui.php
patch
|
blob
|
history
diff --git
a/horde/lib/Prefs/Ui.php
b/horde/lib/Prefs/Ui.php
index
2467036
..
a3ab318
100644
(file)
--- a/
horde/lib/Prefs/Ui.php
+++ b/
horde/lib/Prefs/Ui.php
@@
-171,7
+171,8
@@
class Horde_Prefs_Ui
if ($prefs->isDirty('language')) {
$registry->setLanguageEnvironment($prefs->getValue('language'));
foreach ($registry->listApps() as $app) {
- if ($registry->hasAppMethod($app, 'changeLanguage')) {
+ if ($registry->hasAppMethod($app, 'changeLanguage') &&
+ $registry->isAuthenticated(array('app' => $app, 'notransparent' => true))) {
$registry->callAppMethod($app, 'changeLanguage');
}
}