Update of /cvs/scoop/scoop/lib/Scoop/Stories
In directory lithium.sabren.com:/tmp/cvs-serv30994/lib/Scoop/Stories
Modified Files:
Views.pm
Log Message:
bugs 147 and 170: small bugfixes for userprefs and story permissions,
respectively.
-janra
Index: Views.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Stories/Views.pm,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** Views.pm 3 Feb 2005 15:48:30 -0000 1.69
--- Views.pm 10 Feb 2005 23:08:50 -0000 1.70
***************
*** 186,189 ****
--- 186,193 ----
# <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 width="100%">|;
+ # Filter this through get_sids for perms
+ my $sids = $S->get_sids({'sid' => $sid});
+ $sid = $sids->[0];
+
my ($story_data, $story) = $S->displaystory($sid);