projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f5af17
)
Shout: make sure we preserve the context across page loads
author
Ben Klang
<ben@alkaloid.net>
Sat, 30 Jan 2010 02:39:32 +0000
(21:39 -0500)
committer
Ben Klang
<ben@alkaloid.net>
Sat, 30 Jan 2010 02:39:32 +0000
(21:39 -0500)
shout/lib/Application.php
patch
|
blob
|
history
diff --git
a/shout/lib/Application.php
b/shout/lib/Application.php
index
eb4b0cd
..
81dabd6
100644
(file)
--- a/
shout/lib/Application.php
+++ b/
shout/lib/Application.php
@@
-81,6
+81,10
@@
class Shout_Application extends Horde_Registry_Application
}
$context = Horde_Util::getFormData('context');
+ if (empty($context) && !empty($_SESSION['shout']['context'])) {
+ $context = $_SESSION['shout']['context'];
+ }
+
if (!empty($context) && !in_array($context, $contexts)) {
// Requested context not available
$GLOBALS['notification']->push(_("You do not have permission to access that context."), 'horde.error');