diff --git a/src/Repository/Job.php b/src/Repository/Job.php index 25ad76a..27a0c25 100644 --- a/src/Repository/Job.php +++ b/src/Repository/Job.php @@ -446,7 +446,7 @@ class Job extends Repository public function getJob(int $id, bool $withSecrets = false) { $jobSql = "SELECT * FROM job WHERE id = :id"; $jobStmt = $this->dbcon->prepare($jobSql); - $jobRslt = $jobStmt->execute([':id' => $id])->fetchAssociative(); + $jobRslt = $jobStmt->executeQuery([':id' => $id])->fetchAssociative(); $jobRslt['data'] = json_decode($jobRslt['data'], true); diff --git a/templates/job/edit.html.twig b/templates/job/edit.html.twig index 906a584..e264903 100644 --- a/templates/job/edit.html.twig +++ b/templates/job/edit.html.twig @@ -36,11 +36,11 @@
- +
Eternal
- +