Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 4, 20231 yr Bug: 0 values are treated as bool. As you can see by this Matrix Form. 0 values are shown as NULL values. If I change the forum from a text to a number, the correct values are shown. The issue is with logic in /application/core/dev/html/global/forms/text.phtml and line 11: value="{{if \is_array( $value )}}{expression="implode( ',', $value )"}{{elseif $value}}{$value}{{endif}}" Shouldn't this be? value="{{if \is_array( $value )}}{expression="implode( ',', $value )"}{{else}}{$value}{{endif}}" Edited May 4, 20231 yr by TDBF
May 4, 20231 yr As you can see by this Matrix Form. 0 values are shown as NULL values. It's like that everywhere: https://invisioncommunity.com/forums/topic/472995-polls-not-working-correctly-random/ You can replicate it in Yes/No fields.
May 4, 20231 yr Community Expert Did you test with 4.7.9 or 4.7.10 Beta? Unless I remember wrong, this is already fixed in 4.7.10 Beta.
May 4, 20231 yr My post in the topic above is from April, 12, in 4.7.9. As no one from IPS care to reply, I’m not sure it’s related.
May 4, 20231 yr Author Did you test with 4.7.9 or 4.7.10 Beta? Unless I remember wrong, this is already fixed in 4.7.10 Beta. This is in 4.7.9 and has been in previous versions for well over a month or two. I haven't checked, as I don't use Beta versions.
May 4, 20231 yr Community Expert My post in the topic above is from April, 12, in 4.7.9. As no one from IPS care to reply, I’m not sure it’s related. A little confused there. There was a bug report added for the issue
May 4, 20231 yr Author A little confused there. There was a bug report added for the issue For the issue in the OP?
May 4, 20231 yr There was a bug report added for the issue To the OP, I guess. I’m talking about my post, which I’m still not sure it’s related. Edited May 4, 20231 yr by Adriano Faria Add link