We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mod_jem 4.3.1 was changed: now there is a deprecated warning (back again!): helpers.php line 139-141:
` $lists[$i]->postalCode = htmlspecialchars($row->postalCode, ENT_COMPAT, 'UTF-8'); $lists[$i]->street = htmlspecialchars($row->street, ENT_COMPAT, 'UTF-8'); $lists[$i]->state = htmlspecialchars($row->state, ENT_COMPAT, 'UTF-8');
should be ` $lists[$i]->postalCode = htmlspecialchars($row->postalCode ?? '', ENT_COMPAT, 'UTF-8'); $lists[$i]->street = htmlspecialchars($row->street ?? '', ENT_COMPAT, 'UTF-8'); $lists[$i]->state = htmlspecialchars($row->state ?? '', ENT_COMPAT, 'UTF-8');
(Thanks to kurtus in the forum)
The text was updated successfully, but these errors were encountered:
Are you talking about /modules/mod_jem/helper.php? I suspect it was me - I added these lines for the microdata.
Sorry, something went wrong.
fix for deprecated htmlspecialchars #1860
fc7d4e2
Cloud you please test, if the changes are ok.
The deprecated warning came from @kurtus in the forum. He is on 4.4.9. On this I can't test. Are there other modules you added "quickly"?
No branches or pull requests
mod_jem 4.3.1 was changed: now there is a deprecated warning (back again!): helpers.php line 139-141:
` $lists[$i]->postalCode = htmlspecialchars($row->postalCode, ENT_COMPAT, 'UTF-8');
$lists[$i]->street = htmlspecialchars($row->street, ENT_COMPAT, 'UTF-8');
$lists[$i]->state = htmlspecialchars($row->state, ENT_COMPAT, 'UTF-8');
should be
` $lists[$i]->postalCode = htmlspecialchars($row->postalCode ?? '', ENT_COMPAT, 'UTF-8');
$lists[$i]->street = htmlspecialchars($row->street ?? '', ENT_COMPAT, 'UTF-8');
$lists[$i]->state = htmlspecialchars($row->state ?? '', ENT_COMPAT, 'UTF-8');
(Thanks to kurtus in the forum)
The text was updated successfully, but these errors were encountered: