You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Fix #16048 - Allow NULL as default bit value.
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
committed by
William Desportes
parent
1e628d4722
commit
ae640ebcce
@@ -2860,7 +2860,7 @@ class Util
|
||||
*/
|
||||
public static function convertBitDefaultValue($bit_default_value)
|
||||
{
|
||||
return preg_replace("/^b'(\d*)'?$/", '$1', htmlspecialchars_decode($bit_default_value, ENT_QUOTES), 1);
|
||||
return preg_replace("/^b'(\d*)'?$/", '$1', htmlspecialchars_decode((string) $bit_default_value, ENT_QUOTES), 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user