Closed (fixed)
Project:
Twingly
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2009 at 08:54 UTC
Updated:
23 Jul 2009 at 21:30 UTC
When the "All languages" option is selected in the Twingly block configuration no results are returned.
To fix, change:
$lang = (!empty($params['lang'])) ? 'lang:'.implode('|', $params['lang']) : '';
To:
$lang = (!empty($params['lang']) && $params['lang'][0] != '0') ? 'lang:'.implode('|', $params['lang']) : '';
Comments
Comment #1
freakalis commentedThanks, fix commited to 1.0.