Update of /cvs/scoop/scoop/lib/Scoop/Stories
In directory lithium.sabren.com:/tmp/cvs-serv3430/lib/Scoop/Stories

Modified Files:
	Elements.pm 
Log Message:
Fixes for bugs 182, 213, 214, 215.

Also applied patch 26 and 27 from 1.0-1.1 to scoop.sql, as they were in the
patches table but not actually in the database, leading to many questions about
where the special page edit form went.

-janra



Index: Elements.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Stories/Elements.pm,v
retrieving revision 1.128
retrieving revision 1.129
diff -C2 -d -r1.128 -r1.129
*** Elements.pm	8 Feb 2006 03:42:03 -0000	1.128
--- Elements.pm	13 Mar 2006 07:49:59 -0000	1.129
***************
*** 872,876 ****
  		# checking to see if we got them all - if not, we look in the archive
  	}
! 	if ( $sids_to_fetch && $S->{HAVE_ARCHIVE} ) {
  		warn "(story_data) getting @$sids_to_fetch from archive database" if $DEBUG;
  		my $sids_sql = join(',', map { $S->dbh->quote($_) } (@$sids_to_fetch) );
--- 872,876 ----
  		# checking to see if we got them all - if not, we look in the archive
  	}
! 	if ( @$sids_to_fetch && $S->{HAVE_ARCHIVE} ) {
  		warn "(story_data) getting @$sids_to_fetch from archive database" if $DEBUG;
  		my $sids_sql = join(',', map { $S->dbh->quote($_) } (@$sids_to_fetch) );