Commit bfa2fa20 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3815 Missing ending slash in regex

parent cdc987c8
......@@ -42,7 +42,7 @@ class CertificateOrderedArrayAttribute extends OrderedArrayAttribute
if (parent::handlePostValueActions($id, $postValue)) {
return TRUE;
if (preg_match('/^'.$id.'_download_', $id)) {
if (preg_match('/^'.$id.'_download_/', $id)) {
$key = preg_replace('/^'.$id.'_download_/', '', $postValue);
$key = preg_replace('/_[xy]$/', '', $key);
Supports Markdown
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