From 49290ea3d4c7c158b7ce50155fe832cbf460c22b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Wed, 29 Apr 2015 14:57:35 +0200 Subject: [PATCH] Wrong sorting by Modified column #387 --- app/views/dmsf/_dir_trash.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dmsf/_dir_trash.html.erb b/app/views/dmsf/_dir_trash.html.erb index 4f311976..e708653b 100644 --- a/app/views/dmsf/_dir_trash.html.erb +++ b/app/views/dmsf/_dir_trash.html.erb @@ -56,5 +56,5 @@ 0 0 -<%= subfolder.modified.to_i %> +<%= subfolder.modified.to_i if subfolder %> 0 \ No newline at end of file