aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-28 11:46:17 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-28 11:46:17 +0200
commitdac539b61936e61c804c3d8fbf91003803e2cc81 (patch)
treec79288604ebc930dea3caeb8473eccad23932ace /apps/files_versions
parent81953e7bb5179ed33eb4ac5e24301e41148c252e (diff)
downloadnextcloud-server-dac539b61936e61c804c3d8fbf91003803e2cc81.tar.gz
nextcloud-server-dac539b61936e61c804c3d8fbf91003803e2cc81.zip
handover the correct timestamp
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/ajax/getVersions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/ajax/getVersions.php b/apps/files_versions/ajax/getVersions.php
index fe48434d2cb..f29d1760b6f 100644
--- a/apps/files_versions/ajax/getVersions.php
+++ b/apps/files_versions/ajax/getVersions.php
@@ -13,7 +13,7 @@ if( OCA_Versions\Storage::isversioned( $source ) ) {
$versionsFormatted = array();
foreach ( $versions AS $version ) {
- $versionsFormatted[] = OCP\Util::formatDate( doubleval($version) );
+ $versionsFormatted[] = OCP\Util::formatDate( $version['version'] );
}
$versionsSorted = array_reverse( $versions );