Merge pull request #311 from ladybirdweb/analysis-z4m2je
Applied fixes from StyleCI
This commit is contained in:
@@ -109,7 +109,7 @@ class UserController extends Controller
|
||||
}
|
||||
if (strlen($string) > 20) {
|
||||
// truncate string
|
||||
$stringCut = mb_substr($string, 0, 20, "UTF-8");
|
||||
$stringCut = mb_substr($string, 0, 20, 'UTF-8');
|
||||
} else {
|
||||
$stringCut = $string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user