From f39b01d4c2ce713b1f819ba06a2351ad4f79c279 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 21 Jan 2009 18:33:25 +0000 Subject: [PATCH] - Use NULL properly --- user.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.inc.php b/user.inc.php index 9e432c0..3e4d4b6 100644 --- a/user.inc.php +++ b/user.inc.php @@ -472,7 +472,7 @@ function user_dupe_row($db, $key, $val, $newval) foreach($i as $k=>$v) { if($v == NULL && in_array($k, $nullfields)) - $i[$k] = NULL; + $i[$k] = 'NULL'; else if($k == 'year') $i[$k] = $config['FAIRYEAR']; else