must set the LONGBLOB field to NULL to remove a BLOB reference
This commit is contained in:
@@ -230,7 +230,7 @@ foreach ($loop_array as $rowcount => $where_clause) {
|
|||||||
if (isset($remove_blob_repo) && ! isset($upload_blob_repo)) {
|
if (isset($remove_blob_repo) && ! isset($upload_blob_repo)) {
|
||||||
$remove_blob_reference = $_REQUEST['remove_blob_ref_' . $key];
|
$remove_blob_reference = $_REQUEST['remove_blob_ref_' . $key];
|
||||||
if (isset($remove_blob_reference)) {
|
if (isset($remove_blob_reference)) {
|
||||||
$val = "''";
|
$val = "NULL";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user