Upload via GUI (364 Dateien)
This commit is contained in:
@@ -106,9 +106,12 @@ function ticket_problem_link(PDO $pdo, int $problemId, int $ticketId, int $staff
|
||||
return true;
|
||||
}
|
||||
|
||||
function ticket_problem_unlink(PDO $pdo, int $problemId, int $ticketId): void
|
||||
/** Löst die Verknüpfung. Liefert false, wenn es sie nicht gab. */
|
||||
function ticket_problem_unlink(PDO $pdo, int $problemId, int $ticketId): bool
|
||||
{
|
||||
$pdo->prepare('DELETE FROM problem_tickets WHERE problem_id = ? AND ticket_id = ?')->execute([$problemId, $ticketId]);
|
||||
$stmt = $pdo->prepare('DELETE FROM problem_tickets WHERE problem_id = ? AND ticket_id = ?');
|
||||
$stmt->execute([$problemId, $ticketId]);
|
||||
return $stmt->rowCount() > 0;
|
||||
}
|
||||
|
||||
function ticket_problems_for_ticket(PDO $pdo, int $ticketId): array
|
||||
|
||||
Reference in New Issue
Block a user