note 46201 deleted from function.empty by aidan
| From: | aidan@php.net | Date: | Sat, 02 Oct 2004 06:41:38 +0000 |
| Subject: | note 46201 deleted from function.empty by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77728@lists.php.net to get a copy of this message | ||
Note Submitter: LA
----
After migrating, I noticed that for some reason, an empty field contained a 'none' value,
and not an 'empty' one. Although on the old server there was no prob, after migrating the
code started to complain, and I had to enter
if (($val == "none") || (empty($val))
Silly, but it finally worked...