openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 7874f9c040aad43ff0effeb024fc68ccb8e769f9
parent ee85f14d522c61acd77caab3a9ac8d26b87c60f7
Author: Jan Dankert <devnull@localhost>
Date:   Fri, 18 Nov 2011 23:28:46 +0100

Die Action "pagelement" benötigt neben der Seiten-Id auch die Element-Id.

Diffstat:
util/ProjectTree.class.php | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/util/ProjectTree.class.php b/util/ProjectTree.class.php @@ -57,7 +57,8 @@ class ProjectTree extends AbstractTree if ( $element->isWritable() ) { $treeElement = new TreeElement(); - $treeElement->id = $elementid; + $treeElement->id = $id; + $treeElement->extraId['elementid'] = $elementid; $treeElement->text = $element->name; $treeElement->url = Html::url('pageelement','edit', $id,