Fix incorrect Lang:get using, undeclared variable, missing csrf token

This commit is contained in:
maranqz
2019-07-21 14:43:52 +03:00
committed by Manish Verma
parent 41d4f97495
commit fd3e47b96d
5 changed files with 21 additions and 7 deletions

View 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 {