[Phpslash-commit] CVS: phpslash-ft/public_html/admin storyAdmin.php3,1.6,1.7
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-03-13 19:14:25
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/admin In directory usw-pr-cvs1:/tmp/cvs-serv18487/phpslash-ft/public_html/admin Modified Files: storyAdmin.php3 Log Message: newStory auth checks Index: storyAdmin.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/storyAdmin.php3,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** storyAdmin.php3 3 Feb 2002 22:09:12 -0000 1.6 --- storyAdmin.php3 13 Mar 2002 19:14:21 -0000 1.7 *************** *** 53,58 **** case "edit": $HTTP_POST_VARS['story_id'] = $story_id; ! $story->newStory($HTTP_POST_VARS, "database"); ! break; case "new": --- 53,60 ---- case "edit": $HTTP_POST_VARS['story_id'] = $story_id; ! if(!$story->newStory($HTTP_POST_VARS, "database")) { ! error(pslgetText("Sorry. You do not have the necessary privilege to view this page.")); ! } ! break; case "new": |