Baffling, sporadic error message - validation issue? |
[eluser]xzela[/eluser]
Hi, the function empty() can be weird sometimes. a string set to "0" is considered empty. Check out these type comparisons: http://www.php.net/manual/en/types.comparisons.php You might be able to get away with this: Code: if (!$this->ClientID) { //flip-a-bit, This will either solve the issue or completely break your application. ![]() |
Messages In This Thread |
Baffling, sporadic error message - validation issue? - by El Forum - 07-08-2010, 08:12 PM
Baffling, sporadic error message - validation issue? - by El Forum - 07-09-2010, 11:50 AM
Baffling, sporadic error message - validation issue? - by El Forum - 07-15-2010, 05:33 PM
Baffling, sporadic error message - validation issue? - by El Forum - 08-13-2010, 11:47 AM
Baffling, sporadic error message - validation issue? - by El Forum - 08-15-2010, 10:07 AM
Baffling, sporadic error message - validation issue? - by El Forum - 08-15-2010, 10:16 AM
|