Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94660 Details for
Bug 143639
horde-3.1.2 error: Invalid parent permission
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch from the horde bugzilla
patch (text/plain), 1.19 KB, created by
Chris Carlin
on 2006-08-19 22:43:40 UTC
(
hide
)
Description:
patch from the horde bugzilla
Filename:
MIME Type:
Creator:
Chris Carlin
Created:
2006-08-19 22:43:40 UTC
Size:
1.19 KB
patch
obsolete
>=================================================================== >RCS file: /horde/cvs/framework/Perms/Perms/datatree.php,v >retrieving revision 1.6.2.11 >retrieving revision 1.6.2.12 >diff -p --unified=3 -r1.6.2.11 -r1.6.2.12 >--- datatree.php 2006/05/04 13:26:16 1.6.2.11 >+++ datatree.php 2006/07/20 18:50:05 1.6.2.12 >@@ -6,7 +6,7 @@ require_once 'Horde/DataTree.php'; > * The Perms_datatree:: class provides a DataTree driver for the Horde > * permissions system. > * >- * $Horde: framework/Perms/Perms/datatree.php,v 1.6.2.10 2006/01/08 17:50:46 chuck Exp $ >+ * $Horde: framework/Perms/Perms/datatree.php,v 1.6.2.11 2006/05/04 13:26:16 jan Exp $ > * > * Copyright 2001-2006 Chuck Hagenbuch <chuck@horde.org> > * Copyright 2004-2006 Jan Schneider <jan@horde.org> >@@ -137,7 +137,11 @@ class Perms_datatree extends Perms { > */ > function &getPermissionById($cid) > { >- $object = $this->_datatree->getObjectById($cid, 'DataTreeObject_Permission'); >+ if ($cid == DATATREE_ROOT) { >+ $object = &$this->newPermission(DATATREE_ROOT); >+ } else { >+ $object = &$this->_datatree->getObjectById($cid, 'DataTreeObject_Permission'); >+ } > return $object; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 143639
: 94660