Commit 108eff38 authored by Jérôme Jutteau's avatar Jérôme Jutteau

[BUGFIX] Remove invalid regex Warning

Signed-off-by: Jérôme Jutteau's avatarJerome Jutteau <mojo@couak.net>
parent a7d0b981
......@@ -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']) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment