From 148eab912112004aab23f27138f93406d87b00f0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 31 Jul 2010 07:07:02 -0400 Subject: [PATCH] must set the LONGBLOB field to NULL to remove a BLOB reference --- tbl_replace.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_replace.php b/tbl_replace.php index 6d4fd83da..e372bd0ab 100644 --- a/tbl_replace.php +++ b/tbl_replace.php @@ -230,7 +230,7 @@ foreach ($loop_array as $rowcount => $where_clause) { if (isset($remove_blob_repo) && ! isset($upload_blob_repo)) { $remove_blob_reference = $_REQUEST['remove_blob_ref_' . $key]; if (isset($remove_blob_reference)) { - $val = "''"; + $val = "NULL"; } }