Commit 26212fb5 authored by Pierre-Yves Gosset's avatar Pierre-Yves Gosset
parent 2dfb3202
......@@ -74,6 +74,7 @@ function webform_results_submissions($node, $user_filter, $pager_count) {
$operation_count = 1;
// No need to call this multiple times, just reference this in a variable.
$destination = drupal_get_destination();
$destination = array("destination" => drupal_get_path_alias('node/'.$node->nid)."/webform-results"); //modified by to fix
if (webform_submission_access($node, $submission, 'edit', $user)) {
$row[] = l(t('Edit'), "node/$node->nid/submission/$sid/edit", array('query' => $destination));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment