Skip to content
Snippets Groups Projects

Update unicode function to allow for ligatures

Merged Tyler R Lemburg requested to merge feature/issue-7 into develop
4 files
+ 142
21
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -8,10 +8,10 @@ use \SvgGenerator as SVG;
class LockupsController extends Controller {
const LOCKUP_VERSION = '1.4';
const LOCKUP_VERSION = '1.5';
private static function checkTextFieldLength($params, $field, $max_length) {
if (strlen($params[$field]) > $max_length) {
if (mb_strlen($params[$field]) > $max_length) {
self::flashNotice(parent::NOTICE_LEVEL_ERROR, 'Invalid Text', ucwords(implode(' ',explode('_', $field))) . ' must be ' . $max_length . ' characters or fewer.');
return FALSE;
}
Loading