From f8a7b72190eca72910263b30f204526d82bf16c4 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Sun, 9 Aug 2020 17:34:02 +0100 Subject: [PATCH] :bug: Fix syntax errors Signed-off-by: Luke Tainton --- app/public/actions/close.php | 2 +- app/public/actions/update.php | 2 +- app/public/actions/upload.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/public/actions/close.php b/app/public/actions/close.php index 432fc3c..fc48387 100644 --- a/app/public/actions/close.php +++ b/app/public/actions/close.php @@ -23,7 +23,7 @@ echo(""); } else { $alert = array("danger", "You are not authorised to close this request."); - $newURL = "/view?rid=$request['uuid']"; + $newURL = "/view?rid=" . $request['uuid']; echo(""); } diff --git a/app/public/actions/update.php b/app/public/actions/update.php index e498f8c..825ae81 100644 --- a/app/public/actions/update.php +++ b/app/public/actions/update.php @@ -26,7 +26,7 @@ } } - $newURL = "/view?rid=$request['uuid']"; + $newURL = "/view?rid=" . $request['uuid']; echo(""); ?> diff --git a/app/public/actions/upload.php b/app/public/actions/upload.php index 4b53191..2bd4690 100644 --- a/app/public/actions/upload.php +++ b/app/public/actions/upload.php @@ -28,12 +28,12 @@ } catch (PDOException $e) { $new_ticket_alert = array("danger", "Failed to upload file: " . $e->getMessage()); } - $newURL = "/view?rid=$request['uuid']"; + $newURL = "/view?rid=" . $request['uuid']; echo(""); } } else { $alert = array("danger", "You are not authorised to update this request."); - $newURL = "/view?rid=$request['uuid']"; + $newURL = "/view?rid=" . $request['uuid']; echo(""); } }