mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Fixed ternary
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
da62d6af26
commit
21e23baa37
|
@ -43,7 +43,7 @@ Form::macro('countries', function ($name = 'country', $selected = null, $class =
|
||||||
$abbr = strtoupper($abbr);
|
$abbr = strtoupper($abbr);
|
||||||
}
|
}
|
||||||
|
|
||||||
$select .= '<option value="'.$abbr.'"'.($selected == $abbr) ? ' selected="selected" role="option" aria-selected="true"' : ' aria-selected="false"'.'>'.$country.'</option> ';
|
$select .= '<option value="'.$abbr.'"'.(($selected == $abbr) ? ' selected="selected" role="option" aria-selected="true"' : ' aria-selected="false"').'>'.$country.'</option> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
$select .= '</select>';
|
$select .= '</select>';
|
||||||
|
|
Loading…
Reference in a new issue