Skip to content

Commit e87bf1d

Browse files
committed
core (refactor) clear sprintf from install/src/controllers/connection/collation.php
1 parent a719412 commit e87bf1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/src/controllers/connection/collation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
} elseif ($collation == 'unrecommend') {
5252
$output .= '</optgroup><optgroup label="unrecommend">';
5353
} else {
54-
$output .= sprintf('<option value="%s" %s>%s</option>', $collation, $selected, $collation);
54+
$output .= '<option value="' . $collation . '" ' . $selected . '>' . $collation . '</option>';
5555
}
5656
}
5757
$output .= '</optgroup></select>';

0 commit comments

Comments
 (0)