Skip to content

A free open source IT asset/license management system

Fix: Remove backticks in bulk-actions.blade.php to avoid unintentional shell_exec() call

Dylan Guthried70eff6fc4de
diff --git a/resources/views/components/tables/bulk-actions.blade.php b/resources/views/components/tables/bulk-actions.blade.php
index 2d53c1f6e0..807cd76882 100644
--- a/resources/views/components/tables/bulk-actions.blade.php
+++ b/resources/views/components/tables/bulk-actions.blade.php
@@ -18,7 +18,7 @@
@csrf
{{-- The sort and order will only be used if the cookie is actually empty (like on first-use)--}}
- <input name="sort" type="hidden" value="{{`$model_name.id`}}">
+ <input name="sort" type="hidden" value="{{ "{$model_name}.id" }}">
<input name="order" type="hidden" value="asc">
<label for="bulk_actions">
<span class="sr-only">