update condition

This commit is contained in:
sanjeev 2022-09-07 15:04:18 +05:30
parent 85d516d0ab
commit a5940d458b
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class CategoryController extends Controller
{
$data = request()->all();
if (! isset($data['massaction-type']) || ! ($data['massaction-type'] == 'update')) {
if (! isset($data['massaction-type']) || ! $data['massaction-type'] == 'update') {
return redirect()->back();
}