bug #1762029 [interface] Cannot upload BLOB into existing row
This commit is contained in:
@@ -71,6 +71,7 @@ danbarry
|
||||
- patch #1957998 [display] No tilde for InnoDB row counter when we know
|
||||
it for sure, thanks to Vladyslav Bakayev - dandy76
|
||||
- bug #1955572 [display] alt text causes duplicated strings
|
||||
- bug #1762029 [interface] Cannot upload BLOB into existing row
|
||||
|
||||
2.11.6.0 (2008-04-29)
|
||||
- bug #1903724 [interface] Displaying of very large queries in error message
|
||||
|
@@ -412,8 +412,10 @@ foreach ($rows as $row_id => $vrow) {
|
||||
// Prepares the field value
|
||||
$real_null_value = FALSE;
|
||||
if (isset($vrow)) {
|
||||
if (! isset($vrow[$field['Field']])
|
||||
|| is_null($vrow[$field['Field']])) {
|
||||
// On a BLOB that can have a NULL value, the is_null() returns
|
||||
// true if it has no content but for me this is different than
|
||||
// having been set explicitely to NULL so I put an exception here
|
||||
if (! $field['is_blob'] && is_null($vrow[$field['Field']])) {
|
||||
$real_null_value = TRUE;
|
||||
$vrow[$field['Field']] = '';
|
||||
$special_chars = '';
|
||||
|
Reference in New Issue
Block a user