@@ -23,7 +23,7 @@
|
|||||||
echo("<script>window.location = '$newURL'</script>");
|
echo("<script>window.location = '$newURL'</script>");
|
||||||
} else {
|
} else {
|
||||||
$alert = array("danger", "You are not authorised to close this request.");
|
$alert = array("danger", "You are not authorised to close this request.");
|
||||||
$newURL = "/view?rid=$request['uuid']";
|
$newURL = "/view?rid=" . $request['uuid'];
|
||||||
echo("<script>window.location = '$newURL'</script>");
|
echo("<script>window.location = '$newURL'</script>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$newURL = "/view?rid=$request['uuid']";
|
$newURL = "/view?rid=" . $request['uuid'];
|
||||||
echo("<script>window.location = '$newURL'</script>");
|
echo("<script>window.location = '$newURL'</script>");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -28,12 +28,12 @@
|
|||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
$new_ticket_alert = array("danger", "Failed to upload file: " . $e->getMessage());
|
$new_ticket_alert = array("danger", "Failed to upload file: " . $e->getMessage());
|
||||||
}
|
}
|
||||||
$newURL = "/view?rid=$request['uuid']";
|
$newURL = "/view?rid=" . $request['uuid'];
|
||||||
echo("<script>window.location = '$newURL'</script>");
|
echo("<script>window.location = '$newURL'</script>");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$alert = array("danger", "You are not authorised to update this request.");
|
$alert = array("danger", "You are not authorised to update this request.");
|
||||||
$newURL = "/view?rid=$request['uuid']";
|
$newURL = "/view?rid=" . $request['uuid'];
|
||||||
echo("<script>window.location = '$newURL'</script>");
|
echo("<script>window.location = '$newURL'</script>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user