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

More
1 month 3 weeks ago #162031 by tomzt
tomzt created the topic: Error in file Export_helper.php at Get size of integer part
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 to join the conversation.

More
1 month 3 weeks ago #162033 by olle
olle replied the topic: Error in file Export_helper.php at Get size of integer part
In which version of LS did you find this error?

Please Log in to join the conversation.

More
1 month 3 weeks ago #162034 by olle
olle replied the topic: Error in file Export_helper.php at Get size of integer part
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 to join the conversation.

More
1 month 3 weeks ago #162041 by tomzt
tomzt replied the topic: Error in file Export_helper.php at Get size of integer part
Sorry for missing Version is 2.72.4+171110

Please Log in to join the conversation.

More
1 month 3 weeks ago #162052 by olle
olle replied the topic: Error in file Export_helper.php at Get size of integer part
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 to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!