6.0.0-RC7
6/18/26

[#2545] restrict comment causes foreach warning when not visible
Summary restrict comment causes foreach warning when not visible
Queue Whups
Type Bug
State Resolved
Priority 1. Low
Owners
Requester jhart (at) webroot (dot) com
Created 9/1/05 (7595 days ago)
Due
Updated 9/2/05 (7594 days ago)
Assigned 9/2/05 (7594 days ago)
Resolved 9/2/05 (7594 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
556 Chuck Hagenbuch Summary ⇒ restrict comment causes foreach warning when not visible
 
396 Chuck Hagenbuch Summary ⇒ restrict comment causes foreach warning when not visibler
State ⇒ Resolved
 
506 jhart (at) webroot (dot) com Comment #4 Reply to this comment
That works too.
46 Chuck Hagenbuch Comment #3
State ⇒ Feedback
Reply to this comment
338 jhart (at) webroot (dot) com Comment #2
New Attachment: comment.inc.diff Download
Reply to this comment
Attached is the result of cvs diff comment.inc
317 jhart (at) webroot (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ restrict comment causes foreach warning when not visible
Queue ⇒ Whups
State ⇒ Unconfirmed
Reply to this comment
When a comment is marked as 'only viewable by...', a warning shows up 
in its place:



Warning: Invalid argument supplied for foreach() in 
/usr/local/horde/whups/templates/comment.inc on line 42



I have identified where this problem is and I'll have a patch in just 
a few minutes.

Saved Queries