Private GIT

Skip to content
Snippets Groups Projects
Commit 18337d9b authored by Benoît Sauveton's avatar Benoît Sauveton
Browse files

#4050 casting string for strlen function (to avoid a warning)

parent 021be574
Branches
Tags
No related merge requests found
......@@ -123,7 +123,7 @@ class HTML_QuickForm_checkbox extends HTML_QuickForm_input
*/
function toHtml()
{
if (0 == strlen($this->_text)) {
if (0 == strlen((string)$this->_text)) {
$label = '';
} elseif ($this->_flagFrozen) {
$label = $this->_text;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment