Pull-request: #16063 Fixes: #16048 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
d8964395c5
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user