Index: openacs-4/packages/acs-templating/www/scripts/xinha/file-selector-oracle.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/scripts/xinha/file-selector-oracle.xql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/acs-templating/www/scripts/xinha/file-selector-oracle.xql	7 Aug 2017 23:48:03 -0000	1.2
+++ openacs-4/packages/acs-templating/www/scripts/xinha/file-selector-oracle.xql	26 Jun 2018 12:59:21 -0000	1.3
@@ -15,7 +15,7 @@
 	     else :folder_path || '/' || name
 	   end as file_url,
 	   case
-	     when last_modified >= (now() - cast('99999' as interval))
+	     when last_modified >= (current_timestamp - cast('99999' as interval))
 	     then 1
 	     else 0
 	   end as new_p
@@ -29,4 +29,4 @@
 </fullquery>
 
  
-</queryset>
\ No newline at end of file
+</queryset>