Skip to content

Commit

Permalink
Important fix, missing " and little replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
jaanusnurmoja committed Apr 23, 2013
1 parent 479975b commit 84f3eaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/fabrik_element/databasejoin/databasejoin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1078,9 +1078,9 @@ public function render($data, $repeatCounter = 0)
switch ($displayType)
{
case 'dropdown':
default:
//Jaanus: to avoid dropdowns becoming too large because of possible long labels
$attribs .= $params->get('max-width') && $params->get('max-width') != '' ? ' style="max-width:' . $params->get('max-width') . ';' : '';
$attribs .= $params->get('max-width') && $params->get('max-width') != '' ? ' style="max-width:' . $params->get('max-width') . ';"' : '';
default:
$html[] = JHTML::_('select.genericlist', $tmp, $thisElName, $attribs, 'value', 'text', $default, $id);
break;
case 'radio':
Expand Down

0 comments on commit 84f3eaa

Please sign in to comment.