diff --git a/ChangeLog b/ChangeLog index 5fd832b76..76ec78f20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -34,6 +34,7 @@ $HeadURL$ 2.10.0.3 (not released yet) ===================== +- bug #1690561 Blobs being cleared on Edit of row - bug #1679801 [core] XSS vulnerability in PMA_sanitize(), thanks to sp3x SecurityReason 2.10.0.2 (2007-03-02) diff --git a/libraries/tbl_replace_fields.inc.php b/libraries/tbl_replace_fields.inc.php index ec3c05378..89d5efdd0 100644 --- a/libraries/tbl_replace_fields.inc.php +++ b/libraries/tbl_replace_fields.inc.php @@ -190,6 +190,8 @@ if (false === $valid_file_was_uploaded) { if (! empty($prot_row[$key])) { $val = '0x' . bin2hex($prot_row[$key]); $seen_binary = true; + } else { + $val = ''; } break;