Verified Commit 1975fb8d authored by dockx thibault's avatar dockx thibault
Browse files

:sparkles: Feat(Snapshot) - add small change

small change for snapshot
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -122,7 +122,7 @@ class SnapshotsAttribute extends OrderedArrayAttribute
}
if (preg_match('/^'.$id.'_restore_/', (string) $postValue)) {
$key = preg_replace('/^'.$id.'_restore_/', '', (string) $postValue);
$key = preg_replace('/_[xy]$/', '', $key);
$key = preg_replace('/_[xy]$/', '', (string) $key);
$this->plugin->triggerRestore($this->value[$key]['dn']);
return TRUE;
......
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