Don't hexify BLOB if it is empty (bug #741599).

This commit is contained in:
Michal Čihař
2003-05-22 09:58:52 +00:00
parent 8a68abfc15
commit 1ccd69980a
4 changed files with 10 additions and 6 deletions

View File

@@ -163,7 +163,7 @@ if (!$check_stop) {
// mode, insert empty field because no values were submitted. If protected
// blobs where set, insert original fields content.
if (isset($fieldlist)) {
if (isset($prot_row) && isset($prot_row[$key]) && $prot_row[$key] != '') {
if (isset($prot_row) && isset($prot_row[$key]) && !empty($prot_row[$key])) {
$val = '0x' . bin2hex($prot_row[$key]);
$seen_binary = TRUE;
} else {