]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix revert link on history page of file versions
authorMichael Gapczynski <GapczynskiM@gmail.com>
Sat, 19 May 2012 02:07:28 +0000 (22:07 -0400)
committerMichael Gapczynski <GapczynskiM@gmail.com>
Sat, 19 May 2012 02:07:48 +0000 (22:07 -0400)
apps/files_versions/templates/history.php

index 6ef996049f5e6694b913bfe451ca04c73ff48d53..58fea75a0d07958f59d7145f46c360a1cc10bc63 100644 (file)
@@ -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 />';
                
        }