@@ -260,7 +260,7 @@ |
||
| 260 | 260 | 'name' => $column['name']])->first()) { |
| 261 | 261 | return response()->json([ |
| 262 | 262 | 'success' => false, |
| 263 | - 'errors' => ["Field name must be unique. " . $column['name'] . " are duplicate"], |
|
| 263 | + 'errors' => ["Field name must be unique. ".$column['name']." are duplicate"], |
|
| 264 | 264 | ], 400); |
| 265 | 265 | } |
| 266 | 266 | |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | if (DBM::Template()->where('name', $field['name'])->first()) { |
| 40 | 40 | return response()->json([ |
| 41 | 41 | 'success' => false, |
| 42 | - 'errors' => [" The template name must be unique. " . $field['name'] . " already exist."], |
|
| 42 | + 'errors' => [" The template name must be unique. ".$field['name']." already exist."], |
|
| 43 | 43 | ], 400); |
| 44 | 44 | } |
| 45 | 45 | |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | } |
| 77 | 77 | return response()->json([ |
| 78 | 78 | 'success' => false, |
| 79 | - 'errors' => ['The template '+$request->name . " not found"], |
|
| 79 | + 'errors' => ['The template '+$request->name." not found"], |
|
| 80 | 80 | ], 400); |
| 81 | 81 | } |
| 82 | 82 | } |