@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | 'name' => $column['name']])->first()) { |
| 283 | 283 | return response()->json([ |
| 284 | 284 | 'success' => false, |
| 285 | - 'errors' => ["Field name must be unique. " . $column['name'] . " are duplicate"], |
|
| 285 | + 'errors' => ["Field name must be unique. ".$column['name']." are duplicate"], |
|
| 286 | 286 | ], 400); |
| 287 | 287 | } |
| 288 | 288 | |
@@ -540,7 +540,7 @@ discard block |
||
| 540 | 540 | if (DBM::Template()->where('name', $field['name'])->first()) { |
| 541 | 541 | return response()->json([ |
| 542 | 542 | 'success' => false, |
| 543 | - 'errors' => [" The template name must be unique. " . $field['name'] . " already exist."], |
|
| 543 | + 'errors' => [" The template name must be unique. ".$field['name']." already exist."], |
|
| 544 | 544 | ], 400); |
| 545 | 545 | } |
| 546 | 546 | |
@@ -577,7 +577,7 @@ discard block |
||
| 577 | 577 | } |
| 578 | 578 | return response()->json([ |
| 579 | 579 | 'success' => false, |
| 580 | - 'errors' => ['The template '+$request->name . " not found"], |
|
| 580 | + 'errors' => ['The template '+$request->name." not found"], |
|
| 581 | 581 | ], 400); |
| 582 | 582 | } |
| 583 | 583 | |