Closed (fixed)
Project:
Activity
Version:
5.x-3.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2008 at 11:30 UTC
Updated:
2 Jun 2008 at 10:11 UTC
An incorrect query is genrated when filters are passed to the activity_get_activity. This is not evident all the times. The problem lies with the loop that traverses through the filter (around line 290):
foreach ($filter as $criteria => $values) {
The values are assigned to the strings array and the array persists through the loop.
The fix is to reinitialize the strings array at the start of every loop iteration.
$strings=array()
Comments
Comment #1
jaydub commentedthanks fixed in CVS
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.