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
81cfdf7f
Commit
81cfdf7f
authored
Mar 29, 2016
by
Côme Chilliet
Browse files
Fixes
#4655
The edit anyway button does not work in my account menu
parent
1c0a0b3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/simpleplugin/class_simplePlugin.inc
View file @
81cfdf7f
...
...
@@ -778,8 +778,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
);
}
}
...
...
@@ -792,8 +792,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