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

Modified Files:
	AdminStories.pm 
Log Message:
Bug 165: Tag categories.

-janra



Index: AdminStories.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Admin/AdminStories.pm,v
retrieving revision 1.147
retrieving revision 1.148
diff -C2 -d -r1.147 -r1.148
*** AdminStories.pm	26 May 2005 11:02:21 -0000	1.147
--- AdminStories.pm	10 Sep 2005 01:13:45 -0000	1.148
***************
*** 670,673 ****
--- 670,679 ----
  	$sth->finish;
  
+ 
+ 	# Save story tags, if we're using them
+ 	if ($S->var('use_tags')) {
+ 		$S->save_tags($sid, $params{'tags'});
+ 	}
+ 
  	# don't try to write a poll if they aren't allowed to 
  	# they must have attach_poll perms
***************
*** 839,842 ****
--- 845,852 ----
  	}
  
+ 	if ($S->var('use_tags')) {
+ 		$form_values->{tags} = $S->story_tag_field();
+ 	}
+ 		
  	if ($S->spellcheck_enabled()) {
  		# We will only have a formkey if they have already used the submit form.