Commit ff1099d8 authored by jlopez's avatar jlopez

Fix delete container

parent f82a0daf
......@@ -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");
......
Markdown is supported
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