Index: openacs-4/packages/photo-album/www/photo-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/photo-add-2.tcl,v diff -u -r1.4 -r1.4.2.1 --- openacs-4/packages/photo-album/www/photo-add-2.tcl 18 Nov 2003 22:59:03 -0000 1.4 +++ openacs-4/packages/photo-album/www/photo-add-2.tcl 9 Sep 2004 23:34:49 -0000 1.4.2.1 @@ -23,7 +23,7 @@ } valid_mime_type { - if ![parameter::get -parameter ConverttoJpgorPng -package_id [ad_conn package_id]] { + if { ![parameter::get -parameter ConverttoJpgorPng -package_id [ad_conn package_id] -default 1] } { if { [catch {set photo_info [pa_file_info ${upload_file.tmpfile}]} errMsg] } { ns_log Warning "Error parsing file data Error: $errMsg"