diff options
Diffstat (limited to 'apps/files_versions/templates/history.php')
-rw-r--r-- | apps/files_versions/templates/history.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/templates/history.php b/apps/files_versions/templates/history.php index 6ef996049f5..58fea75a0d0 100644 --- a/apps/files_versions/templates/history.php +++ b/apps/files_versions/templates/history.php @@ -23,7 +23,7 @@ if( isset( $_['message'] ) ) { echo ' '; echo OCP\Util::formatDate( $v ); - echo ' <a href="history.php?path='.urlencode( $_['path'] ).'&revert='. $v .'" class="button">Revert</a><br /><br />'; + echo ' <a href="'.OCP\Util::linkTo('files_versions', 'history.php').'?path='.urlencode( $_['path'] ).'&revert='. $v .'" class="button">Revert</a><br /><br />'; } |