Index: openacs-4/packages/lars-blogger/tcl/rss-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/tcl/rss-procs.tcl,v diff -u -r1.2.2.3 -r1.2.2.4 --- openacs-4/packages/lars-blogger/tcl/rss-procs.tcl 13 Jun 2003 09:15:01 -0000 1.2.2.3 +++ openacs-4/packages/lars-blogger/tcl/rss-procs.tcl 1 Jul 2003 13:28:26 -0000 1.2.2.4 @@ -16,7 +16,7 @@ db_transaction { - db_1row package_id {} + db_1row select_package_id_user_id {} set package_url [lars_blog_public_package_url -package_id $package_id] @@ -50,7 +50,7 @@ set counter 0 - if { [string equal $user_id 0] } { + if { [empty_string_p $user_id] } { set statement "blog_rss_items" } else { set statement "user_blog_rss_items" @@ -99,9 +99,9 @@ @author Lars Pind (lars@pinds.com) } { - db_1row package_id {} + db_1row select_package_id_user_id {} - if { [string equal $user_id 0] } { + if { [empty_string_p $user_id] } { db_0or1row get_last_update {} } else { db_0or1row get_last_user_update {}