forked from science-ation/science-ation
- Use NULL properly
This commit is contained in:
parent
3ad971cb60
commit
f39b01d4c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user