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
c41c6716
Commit
c41c6716
authored
May 02, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correccion lista padre
parent
a9ccb60b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
src/BackendBundle/Controller/ListadoController.php
src/BackendBundle/Controller/ListadoController.php
+5
-6
No files found.
src/BackendBundle/Controller/ListadoController.php
View file @
c41c6716
...
...
@@ -396,7 +396,7 @@ class ListadoController extends AbstractController {
$this
->
manager
->
flush
();
if
(
$lista
)
{
if
(
$listaPadre
!=
null
)
{
if
(
$listaPadre
!=
null
)
{
if
(
$padreAnterior
==
"none"
)
{
$relacionListas
=
new
PluRelacionesListas
();
$relacionListas
->
setRliPadre
(
$listaPadre
);
...
...
@@ -432,12 +432,11 @@ class ListadoController extends AbstractController {
$this
->
manager
->
flush
();
}
}
$log
->
debug
(
"Lista "
.
$lista
->
getLisId
()
.
" editada..."
);
$json
->
setData
(
array
(
'success'
=>
'Listado Editado Correctamente.'
));
$json
->
setStatusCode
(
JsonResponse
::
HTTP_OK
);
return
$json
;
}
$log
->
debug
(
"Lista "
.
$lista
->
getLisId
()
.
" editada..."
);
$json
->
setData
(
array
(
'success'
=>
'Listado Editado Correctamente.'
));
$json
->
setStatusCode
(
JsonResponse
::
HTTP_OK
);
return
$json
;
}
else
{
$log
->
error
(
"Ha ocurrido un error al tratar de editar la lista..."
);
$json
->
setData
(
array
(
'errors'
=>
'Estimado usuario, en estos momentos no podemos atender su solicitud. Intente más tarde por favor.'
));
...
...
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