Jump to content

Featured Replies

Posted

Bug: 0 values are treated as bool.

As you can see by this Matrix Form. 0 values are shown as NULL values.

Could contain: Computer, Computer Hardware, Computer Keyboard, Electronics, Hardware, Text

If I change the forum from a text to a number, the correct values are shown.

Could contain: Computer, Computer Hardware, Computer Keyboard, Electronics, Hardware, Indoors

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 by TDBF

Solved by TDBF

Go to solution

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.

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.

  • Author
22 minutes ago, teraßyte said:

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.

51 minutes ago, Adriano Faria said:

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

  • Author
5 minutes ago, Marc Stridgen said:

A little confused there. There was a bug report added for the issue

For the issue in the OP?

17 minutes ago, Marc Stridgen said:

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 by Adriano Faria
Add link

  • Author
  • Solution

@Marc Stridgen Thank-you for fixing this issue! 👍

Recently Browsing 0

  • No registered users viewing this page.