Commit ff1099d8 authored by jlopez's avatar jlopez
Browse files

Fix delete container

parent f82a0daf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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");