Index: openacs-4/packages/file-storage/www/file-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/file-postgresql.xql,v diff -u -r1.11.2.1 -r1.11.2.2 --- openacs-4/packages/file-storage/www/file-postgresql.xql 16 May 2004 17:24:35 -0000 1.11.2.1 +++ openacs-4/packages/file-storage/www/file-postgresql.xql 16 May 2004 17:29:28 -0000 1.11.2.2 @@ -37,7 +37,7 @@ r.description, acs_permission__permission_p(r.revision_id,:user_id,'admin') as admin_p, acs_permission__permission_p(r.revision_id,:user_id,'delete') as delete_p, - r.content_length as content_size + coalesce(r.content_length,0) as content_size from acs_objects o, cr_items i,cr_revisions r left join cr_mime_types m on r.mime_type=m.mime_type where o.object_id = r.revision_id