fix [ 1489094 ] DataForm Record edit link wrong for list mode

This commit is contained in:
Martin Kamerbeek 2006-05-16 14:25:51 +00:00
parent 9b92fdd8b9
commit 5476280b70
2 changed files with 2 additions and 1 deletions

View file

@ -328,7 +328,7 @@ sub getListTemplateVars {
$dloop->finish;
push(@recordLoop,{
"record.ipAddress"=>$record->{ipAddress},
"record.edit.url"=>$self->getUrl("func=view;entryId=".$record->{DataForm_entryId}),
"record.edit.url"=>$self->getFormUrl("func=view;entryId=".$record->{DataForm_entryId}),
"record.edit.icon"=>$self->session->icon->edit("func=view;entryId=".$record->{DataForm_entryId}, $self->getUrl),
"record.delete.url"=>$self->getUrl("func=deleteEntry;entryId=".$record->{DataForm_entryId}),
"record.delete.icon"=>$self->session->icon->delete("func=deleteEntry;entryId=".$record->{Asset_DataForm_entryId}, $self->getUrl, $i18n->get('Delete entry confirmation')),