Fix incorrect Lang:get using, undeclared variable, missing csrf token
This commit is contained in:
2
app/Http/Controllers/Client/helpdesk/UnAuthController.php
Normal file → Executable file
2
app/Http/Controllers/Client/helpdesk/UnAuthController.php
Normal file → Executable file
@@ -172,7 +172,7 @@ class UnAuthController extends Controller
|
||||
*/
|
||||
public function rating($id, Request $request, \App\Model\helpdesk\Ratings\RatingRef $rating_ref)
|
||||
{
|
||||
foreach ($request->all() as $key => $value) {
|
||||
foreach ($request->except(['_token']) as $key => $value) {
|
||||
if (strpos($key, '_') !== false) {
|
||||
$ratName = str_replace('_', ' ', $key);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user