Index: openacs.org-dev/packages/file-storage/tcl/file-storage-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/file-storage/tcl/file-storage-procs-postgresql.xql,v diff -u -r1.1 -r1.2 --- openacs.org-dev/packages/file-storage/tcl/file-storage-procs-postgresql.xql 9 Jul 2002 17:35:08 -0000 1.1 +++ openacs.org-dev/packages/file-storage/tcl/file-storage-procs-postgresql.xql 12 Jul 2002 12:05:37 -0000 1.2 @@ -56,7 +56,7 @@ fs_objects.url, fs_objects.key, fs_objects.sort_key, - case when fs_objects.last_modified >= (now() - :n_past_days) then 1 else 0 end as new_p, + case when fs_objects.last_modified >= (now() - $n_past_days) then 1 else 0 end as new_p, acs_permission__permission_p(fs_objects.object_id, :user_id, 'admin') as admin_p, acs_permission__permission_p(fs_objects.object_id, :user_id, 'delete') as delete_p, acs_permission__permission_p(fs_objects.object_id, :user_id, 'write') as write_p