openrat-cms

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

commit c0769d8b39690438d3243f9bec1f2186a0f449a2
parent 5f4fe00d9187ef1ac7eecbd28bed10f2060ea06d
Author: dankert <devnull@localhost>
Date:   Sat, 25 Dec 2010 23:17:28 +0100

Fix: In listing() korrekte URLs erzeugen.

Diffstat:
actionClasses/ProjectAction.class.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/actionClasses/ProjectAction.class.php b/actionClasses/ProjectAction.class.php @@ -131,8 +131,8 @@ class ProjectAction extends Action foreach( Project::getAll() as $id=>$name ) { $list[$id] = array(); - $list[$id]['url' ] = Html::url('main' ,'project',$id,array(REQ_PARAM_TARGETSUBACTION=>'edit')); - $list[$id]['use_url' ] = Html::url('index','project',$id); + $list[$id]['url' ] = Html::url('project','edit',$id); + $list[$id]['use_url' ] = Html::url('tree' ,'load',0 ,array('projectid'=>$id,'target'=>'tree')); $list[$id]['name' ] = $name; } $this->setTemplateVar('el',$list);