View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05732Bug reportsSurvey takingpublic2012-03-14 21:08
ReporterTMSWhite Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92RC3 
Target Version1.92RC4Fixed in Version1.92RC4 
Summary05732: Warning: htmlspecialchars() expects at most 3 parameters
Description

Starting with PHP 5.2.3, htmlspecialchars() started to support 4 parameters. Need to downgrade to using three to continue to support PHP 5.2

Additional Information

Warning: htmlspecialchars() expects at most 3 parameters, 4 given in /var/www/html/limesurvey/classes/eval/ExpressionManager.php on line 1473

Warning: htmlspecialchars() expects at most 3 parameters, 4 given in /var/www/html/limesurvey/classes/eval/ExpressionManager.php on line 1461

Warning: htmlspecialchars() expects at most 3 parameters, 4 given in /var/www/html/limesurvey/classes/eval/ExpressionManager.php on line 1473

Warning: htmlspecialchars() expects at most 3 parameters, 4 given in /var/www/html/limesurvey/classes/eval/ExpressionManager.php on line 1461

Warning: htmlspecialchars() expects at most 3 parameters, 4 given in /var/www/html/limesurvey/classes/eval/ExpressionManager.php on line 1473

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)12264
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.3
Server OS (if known)Windows XP
Webserver software & version (if known)XAMPP
PHP Version5.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-01-31 20:10

reporter   ~17109

This is only used in generating the tool-tips for Expression Manager. They look pretty ugly when the 4th parameter of htmlspecialchars is not available, so use it if possible.

TMSWhite

TMSWhite

2012-01-31 20:19

reporter   ~17110

fixed in revision 12266

c_schmitz

c_schmitz

2012-02-14 14:10

administrator   ~17434

1.92RC4 released

Related Changesets

LimeSurvey: Yii 7f7dbe74

2012-01-31 11:21:51

TMSWhite

Details Diff
Fixed issue 05732: Warning: htmlspecialchars() expects at most 3 parameters
Dev 4th parameter only supported in php versions starting with 5.2.3

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12267 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05732
mod - application/helpers/expressions/em_core_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-01-31 20:00 TMSWhite New Issue
2012-01-31 20:00 TMSWhite Status new => assigned
2012-01-31 20:00 TMSWhite Assigned To => TMSWhite
2012-01-31 20:10 TMSWhite Note Added: 17109
2012-01-31 20:10 TMSWhite Target Version 1.92RC4 =>
2012-01-31 20:10 TMSWhite Description Updated
2012-01-31 20:10 TMSWhite Additional Information Updated
2012-01-31 20:18 TMSWhite Target Version => 1.92RC4
2012-01-31 20:19 TMSWhite Note Added: 17110
2012-01-31 20:19 TMSWhite Status assigned => resolved
2012-01-31 20:19 TMSWhite Fixed in Version => 1.92RC4
2012-01-31 20:19 TMSWhite Resolution open => fixed
2012-02-14 14:10 c_schmitz Note Added: 17434
2012-02-14 14:10 c_schmitz Status resolved => closed
2012-03-14 21:08 TMSWhite Changeset attached => Import 2012-03-09 13:30:34 Yii 7f7dbe74