We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8575f6f commit 638d338Copy full SHA for 638d338
1 file changed
event/listener.php
@@ -245,7 +245,7 @@ public function validate_pwa_options($event)
245
$short_name = $this->decode_entities($event['cfg_array']['pwa_short_name']);
246
247
// Do not allow strings longer than 12 characters
248
- if (mb_strlen($short_name, 'UTF-8') > 12)
+ if (utf8_strlen($short_name) > 12)
249
{
250
$this->add_error($event, 'PWA_SHORT_NAME_INVALID');
251
return;
0 commit comments