Index: openacs-4/packages/xowiki/tcl/includelet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/includelet-procs.tcl,v diff -u -r1.90 -r1.91 --- openacs-4/packages/xowiki/tcl/includelet-procs.tcl 6 Jan 2009 01:10:59 -0000 1.90 +++ openacs-4/packages/xowiki/tcl/includelet-procs.tcl 26 Jan 2009 19:33:26 -0000 1.91 @@ -970,7 +970,7 @@ -vars "i.parent_id, r.title,i.name, to_char(time,'YYYY-MM-DD HH24:MI:SS') as visited_date" \ -from "xowiki_last_visited x, xowiki_page p, cr_items i, cr_revisions r" \ -where "x.page_id = i.item_id and i.live_revision = p.page_id \ - and r.revision_id = p.page_id and x.user_id = [::xo::cc user_id] \ + and r.revision_id = p.page_id and x.user_id = [::xo::cc set untrusted_user_id] \ and x.package_id = $package_id and i.publish_status <> 'production'" \ -orderby "visited_date desc" \ -limit $max_entries] \