]> source.dussan.org Git - nextcloud-server.git/commitdiff
handover the correct timestamp
authorBjoern Schiessle <schiessle@owncloud.com>
Thu, 28 Jun 2012 09:46:17 +0000 (11:46 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Thu, 28 Jun 2012 09:46:17 +0000 (11:46 +0200)
apps/files_versions/ajax/getVersions.php

index fe48434d2cbedc53db6455f3fd611f1d205bae3c..f29d1760b6f8b9027f97fa96108b092ba0beed59 100644 (file)
@@ -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 );