projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c33e1
)
Fix scope (Bug #8890).
author
Jan Schneider
<jan@horde.org>
Mon, 1 Mar 2010 10:48:00 +0000
(11:48 +0100)
committer
Jan Schneider
<jan@horde.org>
Mon, 1 Mar 2010 10:48:20 +0000
(11:48 +0100)
wicked/lib/Application.php
patch
|
blob
|
history
diff --git
a/wicked/lib/Application.php
b/wicked/lib/Application.php
index
672af21
..
171806c
100644
(file)
--- a/
wicked/lib/Application.php
+++ b/
wicked/lib/Application.php
@@
-83,10
+83,10
@@
class Wicked_Application extends Horde_Registry_Application
$perms['title']['wicked:pages:' . $val] = $val;
}
- $pages = $
wicked
->getPages();
+ $pages = $
GLOBALS['wicked']
->getPages();
if (!($pages instanceof PEAR_Error)) {
foreach ($pages as $pagename) {
- $pageId = $
wicked
->getPageId($pagename);
+ $pageId = $
GLOBALS['wicked']
->getPageId($pagename);
$perms['tree']['wicked']['pages'][$pageId] = false;
$perms['title']['wicked:pages:' . $pageId] = $pagename;
}