Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jlopez
wicopa
Commits
ff1099d8
Commit
ff1099d8
authored
Apr 30, 2019
by
jlopez
Browse files
Fix delete container
parent
f82a0daf
Changes
1
Show whitespace changes
Inline
Side-by-side
action/action_container.php
View file @
ff1099d8
...
...
@@ -101,6 +101,8 @@ if($action == "create") {
if
(
$cnt
->
author
==
$author
)
{
$db
->
delete
(
$container
);
}
else
if
(
$db
->
getGradeWithLogin
(
$_SESSION
[
'username'
])
->
name
==
$db
->
getMaxGrades
()
->
name
)
{
$db
->
delete
(
$container
);
}
header
(
"Location: ../container.php"
);
...
...
Write
Preview
Markdown
is supported
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