Small bug in function.cms_selflink.php (v. 1.11.12)
Posted: Tue Feb 03, 2015 8:04 pm
The tag {cms_selflink} creates a spurious blank before the link (" <a href=..." instead of "<a href=..."). It seems to me that the problem is on line 353 of function.cms_selflink.php:
if (! isset($params['label_side']) || $params['label_side'] == 'left' && $label != '')
I think it should be:
if ((! isset($params['label_side']) || $params['label_side'] == 'left') && $label != '')
if (! isset($params['label_side']) || $params['label_side'] == 'left' && $label != '')
I think it should be:
if ((! isset($params['label_side']) || $params['label_side'] == 'left') && $label != '')