Revision: 1402
http://mrbs.svn.sourceforge.net/mrbs/?rev=1402&view=rev
Author: cimorrison
Date: 2010-08-06 08:48:07 +0000 (Fri, 06 Aug 2010)
Log Message:
-----------
Fixed bug whereby empty integer custom fields were not being properly handled.
Modified Paths:
--------------
mrbs/trunk/web/edit_users.php
Modified: mrbs/trunk/web/edit_users.php
===================================================================
--- mrbs/trunk/web/edit_users.php 2010-08-06 08:39:42 UTC (rev 1401)
+++ mrbs/trunk/web/edit_users.php 2010-08-06 08:48:07 UTC (rev 1402)
@@ -711,7 +711,7 @@
switch ($field['nature'])
{
case 'integer':
- if (!isset($value))
+ if (!isset($value) || ($value == ''))
{
$value = 'NULL';
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits