Re: CGFavs users action behaviour
Posted: Wed May 08, 2013 9:03 pm
I just ran into this as well.. I can't explain it. In the action.users.php, it states:
..which should do the trick, but I get a blank string every time in my template. Since a blank string is one item, the @count is 1. I can't figure it out. I tried editing the php script and assign a hard-coded value to a variable, but I always get an empty string.
I think I found another related bug. If no one has favorited an item, a call to action=users throws an exception (query failed) .. Should return nothing in this case. I'm about to file a bug report.
Edit: I see that bug reports have already been filed for both issues. I'll try a workaround.. Writing a UDT to call the relevant method directly.
Code: Select all
$smarty->assign($params['assign'], $list);I think I found another related bug. If no one has favorited an item, a call to action=users throws an exception (query failed) .. Should return nothing in this case. I'm about to file a bug report.
Edit: I see that bug reports have already been filed for both issues. I'll try a workaround.. Writing a UDT to call the relevant method directly.