CGFavs users action behaviour

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: CGFavs users action behaviour

Post by Wishbone »

I just ran into this as well.. I can't explain it. In the action.users.php, it states:

Code: Select all

$smarty->assign($params['assign'], $list);
..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.
Post Reply

Return to “Modules/Add-Ons”