[Phpslash-commit] CVS: phpslash-ft/public_html/admin storyAdmin.php3,1.7,1.8
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-03-13 20:05:23
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/admin In directory usw-pr-cvs1:/tmp/cvs-serv32039/phpslash-ft/public_html/admin Modified Files: storyAdmin.php3 Log Message: deleteStory auth checks Index: storyAdmin.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/storyAdmin.php3,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** storyAdmin.php3 13 Mar 2002 19:14:21 -0000 1.7 --- storyAdmin.php3 13 Mar 2002 20:05:18 -0000 1.8 *************** *** 25,30 **** case "delete": ! $story->deleteStory($story_id); ! $story->listStory($ary,$next); break; --- 25,32 ---- case "delete": ! if(!$story->deleteStory($story_id)) { ! error(pslgetText("Sorry. You do not have the necessary privilege to view this page.")); ! } ! $story->listStory($ary,$next); break; |