[geeklog-cvs] geeklog-1.3/public_html/admin story.php,1.95,1.96
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Sun Jul 6 05:24:12 EDT 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory internal.geeklog.net:/tmp/cvs-serv12322
Modified Files:
story.php
Log Message:
Check for proper topic access before editing a story.
Index: story.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/story.php,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -d -r1.95 -r1.96
*** story.php 5 Jul 2003 21:01:00 -0000 1.95
--- story.php 6 Jul 2003 09:24:09 -0000 1.96
***************
*** 95,98 ****
--- 95,99 ----
$A = DB_fetchArray($result);
$access = SEC_hasAccess($A['owner_id'],$A['group_id'],$A['perm_owner'],$A['perm_group'],$A['perm_members'],$A['perm_anon']);
+ $access = min ($access, SEC_hasTopicAccess ($A['tid']));
if ($access == 2) {
$display .= COM_startBlock($LANG24[40], '',
More information about the geeklog-cvs
mailing list