Loading...
 
Skip to main content

bug in tiki_view_forum with respect to tiki_p_admin_form

Status
Closed
Subject
bug in tiki_view_forum with respect to tiki_p_admin_form
Version
1.9.x
Category
  • Error
Feature
Forum
Templates (Smarty)
Submitted by
Moritz Haag
Volunteered to solve
amette
Lastmod by
amette
Rating
(0)
Description

The attachmentbox in tiki_view_forum/tiki_view_forum_thread can not be displayed if the forum_info is set to att_admin because the right is named as tiki_p_admin_form instead of tiki_p_admin_forum. I added also the moderator because i couldn't find it. Now it looks like this
($forum_info.att eq 'att_admin' and ($tiki_p_admin_forum eq 'y' or $forum_info.moderator == $user))
I think it is line 275 in comments.tpl.

Solution

I copied the fix directly from the bug-report - it looks reasonable!

Nevertheless set to pending!
I would like some security-confirmation on this!!
- amette

ok, looks good - closed!

Importance
9 high
Priority
45
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
316
Created
Wednesday 13 July, 2005 17:24:48 UTC
by Unknown
LastModif
Wednesday 19 October, 2005 16:31:27 UTC


Show PHP error messages