htmlspecialchar on debian (and others)
|Reported by:||cebe||Owned by:|
On PHP version previous to 5.2.3 (on debian stable, it's 5.2.0), htmlspecialchars only take 3 arguments, not 4 as it's write in rc code (roundcube/program/steps/mail/compose.inc on line 529).
Moreovers, the 4th argument is default value : no need to add it.
But if you really want, use phpversion() to check that.
Change History (5)
comment:1 Changed 5 years ago by till
- Summary changed from htmlspeciachar on debian (and others) to htmlspecialchar on debian (and others)
comment:2 Changed 5 years ago by alec
- Component changed from Client Scripts to PHP backend
- Resolution set to fixed
- Status changed from new to closed
Changed 4 years ago by Erika
comment:3 Changed 4 years ago by Erika
- Resolution fixed deleted
- Status changed from closed to reopened