diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-27 15:05:40 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-27 15:05:40 +0200 |
commit | d5237c42bc0d6f9155629c15904b69b7f60e2e5f (patch) | |
tree | 32604fbc651c730dbad35d0f82fbb53d381df71a /apps/files_versions/history.php | |
parent | 2d8a380a21716f619bc38e769876dfa5752e6f68 (diff) | |
download | nextcloud-server-d5237c42bc0d6f9155629c15904b69b7f60e2e5f.tar.gz nextcloud-server-d5237c42bc0d6f9155629c15904b69b7f60e2e5f.zip |
Util::formatDate() expect $timestamp as double
Diffstat (limited to 'apps/files_versions/history.php')
-rw-r--r-- | apps/files_versions/history.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/history.php b/apps/files_versions/history.php index cb4726e8d0e..ca03de0472b 100644 --- a/apps/files_versions/history.php +++ b/apps/files_versions/history.php @@ -38,13 +38,13 @@ if ( isset( $_GET['path'] ) ) { $tmpl->assign( 'outcome_stat', 'success' ); - $tmpl->assign( 'outcome_msg', "File {$_GET['path']} was reverted to version ".OCP\Util::formatDate( $_GET['revert'] ) ); + $tmpl->assign( 'outcome_msg', "File {$_GET['path']} was reverted to version ".OCP\Util::formatDate( doubleval($_GET['revert']) ) ); } else { $tmpl->assign( 'outcome_stat', 'failure' ); - $tmpl->assign( 'outcome_msg', "File {$_GET['path']} could not be reverted to version ".OCP\Util::formatDate( $_GET['revert'] ) ); + $tmpl->assign( 'outcome_msg', "File {$_GET['path']} could not be reverted to version ".OCP\Util::formatDate( doubleval($_GET['revert']) ) ); } |