From: <nk...@us...> - 2007-07-09 18:46:04
|
Update of /cvsroot/tikiwiki/tiki/lib In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv25666/lib Modified Files: Tag: BRANCH-1-9 commentslib.php Log Message: [FIX] attachment won't work before when set to admin/moderator only, or only those with perms. Index: commentslib.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/commentslib.php,v retrieving revision 1.98.2.44 retrieving revision 1.98.2.45 diff -u -d -r1.98.2.44 -r1.98.2.45 --- commentslib.php 9 Jul 2007 05:52:24 -0000 1.98.2.44 +++ commentslib.php 9 Jul 2007 18:46:04 -0000 1.98.2.45 @@ -119,6 +119,7 @@ function add_thread_attachment( $forum_info, $threadId, $fp = '', $data = '', $name, $type, $size, $inbound_mail = 0 ) { global $smarty; + global $tiki_p_admin_forum, $tiki_p_forum_attach; // Deal with attachment if( $forum_info['att'] == 'att_all' |