Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql,v diff -u -r1.23 -r1.24 --- openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql 26 Aug 2002 17:02:38 -0000 1.23 +++ openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql 19 Sep 2002 02:02:08 -0000 1.24 @@ -488,7 +488,7 @@ -- dummy table provides a target for updates in dynamically generated trigger -- statements. If type is cr_revisions then rule would end up having only a -- select statement which causes an error to be thrown by the dml command. --- dml command checks for NS_ROWS result and throws and error if found. +-- dml command checks for NS_ROWS result and throws an error if found. -- Using a dummy update causes NS_OK to be returned which satisfies the dml -- result checking. Index: openacs-4/packages/acs-content-repository/tcl/item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/Attic/item-procs.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-content-repository/tcl/item-procs.tcl 13 Aug 2002 16:25:30 -0000 1.3 +++ openacs-4/packages/acs-content-repository/tcl/item-procs.tcl 19 Sep 2002 02:02:11 -0000 1.4 @@ -148,7 +148,7 @@ } { set sql [db_map gmi_get_mime_info] - return [uplevel "db_0or1row ignore $sql"] + return [uplevel "db_0or1row ignore \"$sql\" -column_array mime_info"] }