Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
fc65dfc7
Commit
fc65dfc7
authored
Mar 29, 2016
by
Côme Chilliet
Browse files
Fixes
#4655
The edit anyway button does not work in my account menu
parent
821767cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/simpleplugin/class_simplePlugin.inc
View file @
fc65dfc7
...
...
@@ -808,8 +808,8 @@ class simplePlugin extends plugin
$lock_msg
=
""
;
if
(
$edit_mode
)
{
/* Remove locks created by this plugin */
if
(
$remove_lock
||
isset
(
$_POST
[
'edit_cancel'
]))
{
if
(
session
::
is_set
(
$classname
)
&&
session
::
is_set
(
'edit'
)
)
{
if
(
$remove_lock
||
(
isset
(
$_POST
[
'edit_cancel'
])
&&
session
::
is_set
(
'edit'
))
)
{
if
(
session
::
is_set
(
$classname
))
{
del_lock
(
$entry_dn
);
}
}
...
...
@@ -822,8 +822,8 @@ class simplePlugin extends plugin
}
else
{
/* Reset requested? */
if
(
$edit_mode
&&
isset
(
$_POST
[
'edit_cancel'
]))
{
session
::
un_set
(
'edit'
);
session
::
un_set
(
$classname
);
session
::
un_set
(
'edit'
);
}
/* Create account object on demand */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment