Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question PHP Warning: htmlspecialchars()

More
14 years 8 months ago #105659 by detlef
What you think about this solution ?
www.boonex.com/forums/topic/htmlspecialc...rameter-1-ERROR-.htm

Our lines

function escape($string) {
return htmlspecialchars($string, ENT_COMPAT, 'UTF-8');

to

function escape($string) {
return htmlspecialchars((string)$string, ENT_COMPAT, 'UTF-8');

Offerte di lavoro per Operatore Socio Sanitario OSS su Lavoro oss

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #105718 by Matias
Does it work? Because I thought that in this case the input is a string..

Another way is just to suspend the error with @htmlspecialchars(...), but that's not optimal either.

Please Log in or Create an account to join the conversation.

Time to create page: 0.213 seconds