mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
we declare the column as NOT NULL, so inserting NULL is not a good idea.
This commit is contained in:
parent
eb7dc34bfb
commit
8e30a80733
@ -122,7 +122,7 @@ foreach($objs as $idx => $obj)
|
||||
}
|
||||
else
|
||||
{
|
||||
$val = NULL;
|
||||
$val = '';
|
||||
}
|
||||
$stmt->execute();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user