2012-02-20, 20:41:24
madvic Wrote:Code:Warning: htmlspecialchars() expects at most 3 parameters, 4 given in /.../gs/admin/inc/basic.php on line 471
The 4th parameter for htmlspecialchars was added in PHP 5.2.3. Madvic is probably using an older version.
If you want GS to be compatible with those PHP versions, it may be fixed by editing admin/inc/basic.php, line 471, changing:
Code:
$text = htmlspecialchars($text, ENT_QUOTES, 'UTF-8', false);
Code:
$text = str_replace('"', '"', str_replace("'", ''', $text) );
(I hope it doesn't break anything. It should do the same, though maybe uglier)