Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory
Commits
1975fb8d
Verified
Commit
1975fb8d
authored
2 months ago
by
dockx thibault
Browse files
Options
Download
Patches
Plain Diff
Feat(Snapshot) - add small change
small change for snapshot
parent
ef64fe71
core-php8
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/management/snapshot/class_SnapshotAttribute.inc
+1
-1
include/management/snapshot/class_SnapshotAttribute.inc
with
1 addition
and
1 deletion
+1
-1
include/management/snapshot/class_SnapshotAttribute.inc
+
1
−
1
View file @
1975fb8d
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets