Error in file Export_helper.php at Get size of integer part

More
1 year 1 month ago #162031 by tomzt
My team found error in file Export_helper.php at Get size of integer part function
Line 2140

Old code is
$maxIntegerLen=max([$integerMaxLen,$integerMinLen]);

New code after debug mode and correct
$maxIntegerLen=max(array($integerMaxLen, $integerMinLen));

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

More
1 year 1 month ago #162033 by ollehar
In which version of LS did you find this error?

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

More
1 year 1 month ago #162034 by ollehar
If you found it in LS 3.0.0, please note that this version requires PHP 5.5.9 at least (which supports short-hand notation for arrays).

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

More
1 year 1 month ago #162041 by tomzt
Sorry for missing Version is 2.72.4+171110

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

More
1 year 1 month ago #162052 by ollehar
OK, sorry to say we don't fix bugs in 2.7x anymore, since it has been replaced by 3.0.0. But in your case the fix is easy: Update PHP to 5.5.9 or later.
The following user(s) said Thank You: tomzt

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

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!