summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-05-18 22:07:28 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-05-18 22:07:48 -0400
commitf750da1802d1a7231c74515b4219df352242e4ba (patch)
treece31f6ad2b00fa7c66e104032b03a1b014a8a72a
parent89f5701d1a007d12e7962f3d1a8d1e2a50c02029 (diff)
downloadnextcloud-server-f750da1802d1a7231c74515b4219df352242e4ba.tar.gz
nextcloud-server-f750da1802d1a7231c74515b4219df352242e4ba.zip
Fix revert link on history page of file versions
-rw-r--r--apps/files_versions/templates/history.php2
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 />';
}