Summary | numMessagesBatch-api-call always returns 0 |
Queue | Agora |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | tinu (at) humbapa (dot) ch |
Created | 10/16/2007 (6492 days ago) |
Due | |
Updated | 10/17/2007 (6491 days ago) |
Assigned | |
Resolved | 10/17/2007 (6491 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
thanks :-)
function _agora_numMessages and in
agora/templates/prefs/avatarselect.inc.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ numMessagesBatch-api-call always returns 0
Queue ⇒ Agora
New Attachment: api.php.patch
State ⇒ Unconfirmed
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.