Skip to content

Commit 4ecd0b1

Browse files
authored
[5][plugin] emailcloack Deprecated: mb_strpos() (#42865)
1 parent d216281 commit 4ecd0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/content/emailcloak/src/Extension/EmailCloak.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function onContentPrepare(ContentPrepareEvent $event)
5858
$item = $event->getItem();
5959

6060
// If the item does not have a text property there is nothing to do
61-
if (!property_exists($item, 'text')) {
61+
if (!isset($item->text)) {
6262
return;
6363
}
6464

0 commit comments

Comments
 (0)