Hi,
I have a custom subpanel in one of my custom module. Whenever i save a record with "0" as name it's not showing on the subpanel.
is this a bug?
Hi,
I have a custom subpanel in one of my custom module. Whenever i save a record with "0" as name it's not showing on the subpanel.
is this a bug?
This is probably due to an empty() check somewhere before displaying the data. If empty, then display nothing. 0 resolves to true for empty() so that would be why nothing is being displayed. You can verify this by entering ".0" instead of "0". " 0" with a space may do it too if no stripping is done.
SugarOutfitters - 40+ modules, themes, and integrations for SugarCRM guaranteed to work
Get Consulting: Your Personal Developer
Using CE? You need SecuritySuite
Thanks eggsurplus but i forgot to mention that on the listview the "0" is being displayed. But on the subpanel it is blank. Also, i'm not checking whether the field is empty because i'm populating it from a loop counter.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks