[Tickets #5800] numMessagesBatch-api-call always returns 0

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Oct 16 16:38:29 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5800
-----------------------------------------------------------------------
 Ticket             | 5800
 Created By         | tinu at humbapa.ch
 Summary            | numMessagesBatch-api-call always returns 0
 Queue              | Agora
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
+New Attachment     | api.php.patch
-----------------------------------------------------------------------


tinu at humbapa.ch (2007-10-16 09:38) wrote:

I'm using ansel to use comments via agora. when I view all images inside a
gallery (ansel/view.php?view=Gallery&gallery=X) all images have 0 comments,
even if there actually are some.
the corresponding function _agora_numMessagesBatch in agora/lib/api.php
always returns 0 because empty($forum_id) is NULL on my setup. adding
braces solved my problem (see patch). 
I'm using PHP 5.2.4 and apache 2.2.6 on Linux.



More information about the bugs mailing list