Fixed inline editing of hex values
Fixes #13387 Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
6a3d51e084
commit
d0ab548f76
@ -8,6 +8,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #13465 Fixed creating relation
|
||||
- issue #13475 Fixed export without backquotes
|
||||
- issue #13482 Improved handling of uploaded files with open_basedir
|
||||
- issue #13387 Fixed inline editing of hex values
|
||||
|
||||
4.7.2 (2017-06-29)
|
||||
- issue #13314 Make theme selection keep current server
|
||||
|
||||
@ -2487,6 +2487,8 @@ function PMA_verifyWhetherValueCanBeTruncatedAndAppendExtraData(
|
||||
|| ($meta->type == 'time')
|
||||
) {
|
||||
$new_value = PMA\libraries\Util::addMicroseconds($new_value);
|
||||
} elseif (mb_strpos($meta->flags, 'binary') !== false) {
|
||||
$new_value = '0x' . bin2hex($new_value);
|
||||
}
|
||||
$extra_data['isNeedToRecheck'] = true;
|
||||
$extra_data['truncatableFieldValue'] = $new_value;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user