Feature Requests #455543 - Editable Blobs

This commit is contained in:
Loïc Chapeaux
2001-08-31 16:33:50 +00:00
parent 998685ec98
commit 2a53688b77
2 changed files with 2 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ $Source$
* lang/polish.inc.php3: updated thanks to Piotr Roszatycki.
* tbl_properties.php3, lines 573-576: added the same file upload box than
the one at db_details.php3.
* tbl_change.php, line 305: Feature Requests #455543 - Editable Blobs.
2001-08-31 Olivier M<>ller <om@omnis.ch>
* releasing phpMyAdmin 2.2.0-final

View File

@@ -128,9 +128,6 @@ for ($i = 0; $i < $fields_cnt; $i++) {
// Note: from the MySQL manual: "BINARY doesn't affect how the column is
// stored or retrieved" so it does not mean that the contents is
// binary
//if ((strstr($row_table_def['Type'], 'blob') || strstr($row_table_def['Type'], 'binary'))
// && !empty($data)) {
if (strstr($row_table_def['True_Type'], 'blob')
&& !empty($data)
&& $cfgProtectBlob == TRUE) {
@@ -305,7 +302,7 @@ for ($i = 0; $i < $fields_cnt; $i++) {
}
// Change by Bernard M. Piller <bernard@bmpsystems.com>
// We don't want binary data destroyed
else if (strstr($row_table_def['Type'], 'blob') && !empty($data)) {
else if (strstr($row_table_def['Type'], 'blob')) {
if ($cfgProtectBlob == TRUE) {
echo "\n";
?>