You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Fix TypeError in Util class
TypeError: str_replace() expects parameter 3 to be string or array, int given Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
@@ -900,7 +900,7 @@ class Util
|
||||
|
||||
// '0' is also empty for php :-(
|
||||
if (strlen((string) $a_name) > 0 && $a_name !== '*') {
|
||||
return '`' . str_replace('`', '``', $a_name) . '`';
|
||||
return '`' . str_replace('`', '``', (string) $a_name) . '`';
|
||||
}
|
||||
|
||||
return $a_name;
|
||||
|
||||
Reference in New Issue
Block a user