A free open source IT asset/license management system
Added a few more comments
snipe2ee84c2675a1
diff --git a/app/Http/Controllers/ModalController.php b/app/Http/Controllers/ModalController.phpindex 795dc25531..9d89c61543 100644--- a/app/Http/Controllers/ModalController.php+++ b/app/Http/Controllers/ModalController.php@@ -11,9 +11,15 @@ class ModalController extends Controller* Load the modal views after confirming they are in the allowed_types array.* The allowed types away just prevents shithead skiddies from fuzzing the urls* with automated scripts and junking up the logs. - snipe+ *+ * @version v5.3.7-pre+ * @author [Brady Wetherington] [<[email protected]>]+ * @author [A. Gianotto] [<[email protected]]+ * @return View*/function show ($type, $itemId = null) {+ // These values should correspond to a file in resources/views/modals/$allowed_types = ['category','kit-model',