getGeometryByID($geometry_id); $item->approved = 1; $geometryService->updateGeometry($item); } } else { echo $_SERVER['REQUEST_METHOD']; } header('location:geometries.php'); ?>