Textareas and the number 0
Reported on 01:13 Aug 09 2017 by
Last updated on 08:30 Aug 12 2017 by
The textareas on your site can't handle a comment of just 0. It returns a null value or an error message saying comment has null value. These textareas are in the profiles, ports, journals, message centre, member pages, member articles, database, forum. Anywhere a user uses a textarea to enter data.
Cancer
07:40 Aug 12 2017
Forms are accepting the input, it's being recorded. It's just not showing on the 'Last 3' or 'All Comments' pages. This is because the comment evaluates to boolean false, so the record is getting skipped.
I really don't think this is much of an issue. Technically it's an issue, but I don't think it's worth the effort to recode numerous pages for an instance that will most likely never happen. How many people are leaving comments of 0 (and nothing else). 0 isn't even a valid rating.
TheImpossibleProject
08:30 Aug 12 2017
I thought you would have been using a substr $i >= 1. Well thank you for the reply I was just curious.