Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Fix al agregar tipo de producto #26

Merged
merged 1 commit into from
Aug 13, 2019
Merged

Fix al agregar tipo de producto #26

merged 1 commit into from
Aug 13, 2019

Conversation

goveez
Copy link
Collaborator

@goveez goveez commented Aug 12, 2019

Es necesario aplicar el break en cada case del switch, sino inserta ambos como tipo y marca

Es necesario aplicar el break en cada case del switch
@@ -24,8 +24,10 @@ public function submitProductType(Request $request) {
switch ($request->input('type')) {
case 'product_type':
$this->addProductType($name);
break;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Buen catch!

@victorhqc victorhqc merged commit c4e77a5 into master Aug 13, 2019
@victorhqc victorhqc deleted the fix/switch branch August 13, 2019 08:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants