mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-03-14 16:49:40 +01:00
[BUGFIX] Remove invalid regex Warning
Signed-off-by: Jerome Jutteau <mojo@couak.net>
This commit is contained in:
parent
a7d0b9810f
commit
108eff3814
@ -597,7 +597,7 @@ function jirafeau_admin_list($name, $file_hash, $link_hash)
|
||||
}
|
||||
|
||||
/* Filter. */
|
||||
if (!empty($name) && !preg_match("/$name/i", jirafeau_escape($l['file_name']))) {
|
||||
if (!empty($name) && !@preg_match("/$name/i", jirafeau_escape($l['file_name']))) {
|
||||
continue;
|
||||
}
|
||||
if (!empty($file_hash) && $file_hash != $l['md5']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user