Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
musica_listas_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
musica_listas_backend
Commits
ce654699
Commit
ce654699
authored
May 06, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Segundo tipo wapush-masivo
parent
8a78ec93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
src/BackendBundle/Controller/ListadoController.php
src/BackendBundle/Controller/ListadoController.php
+0
-7
No files found.
src/BackendBundle/Controller/ListadoController.php
View file @
ce654699
...
...
@@ -105,13 +105,6 @@ class ListadoController extends AbstractController {
return
$json
;
}
if
(
$code
==
""
)
{
$log
->
error
(
"Debe ingresar un code..."
);
$json
->
setData
(
array
(
'errors'
=>
'Estimado usuario, debe ingresar un code para la lista.'
));
$json
->
setStatusCode
(
JsonResponse
::
HTTP_BAD_REQUEST
);
return
$json
;
}
if
(
$nombre
==
''
||
$descripcion
==
''
||
!
is_numeric
(
$precio
))
{
$log
->
error
(
"Los datos ingresados no son correctos..."
);
$json
->
setData
(
array
(
'errors'
=>
'Estimado usuario, sus datos son incorrectos.'
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment