Skip to content

Commit

Permalink
Missed a few redirects.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 3, 2017
1 parent def5432 commit 59813b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

switch ($vars->get('formname')) {
case 'hermes_form_time_entry':
$url = $vars->get('url');
$url = Horde::verifySignedUrl($vars->get('url'));
if (empty($url)) {
$url = Horde::url('time.php');
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public static function getTableData($name, $params)
$edit_link = Horde::url('entry.php', true)
->add(array(
'id' => $vals['id'],
'url' => Horde::selfUrl(true, true, true)));
'url' => Horde::signUrl(Horde::selfUrl(true, true, true))));
$vals['icons'] =
Horde::link($edit_link, _("Edit Entry")) .
Horde::img('edit.png', _("Edit Entry"), '') . '</a>';
Expand Down

0 comments on commit 59813b1

Please sign in to comment.