Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smsManager
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
smsManager
Commits
27e0160e
Commit
27e0160e
authored
Jun 05, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ajuste backendUsuario
parent
6cacc1c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/BackendBundle/Controller/BackendUsuarioController.php
src/BackendBundle/Controller/BackendUsuarioController.php
+7
-7
No files found.
src/BackendBundle/Controller/BackendUsuarioController.php
View file @
27e0160e
...
...
@@ -114,8 +114,8 @@ class BackendUsuarioController extends Controller
//$busId = '';
$log
=
Utiles
::
setLog
(
'BackendBundle\Controller\BackendUsuarioController:editarAction[BusId:'
.
$busId
.
']'
,
'backend/backend'
);
$log
->
debug
(
'Entrando'
);
$bus_id
=
$request
->
get
(
'b
us_
id'
,
null
);
$log
->
debug
(
'Entrando... b
us_
id:'
.
$bus_id
);
$bus_id
=
$request
->
get
(
'bid'
,
null
);
$log
->
debug
(
'Entrando... bid:'
.
$bus_id
);
$backendUsuario
=
BackendUsuarioQuery
::
create
()
->
filterByBusEliminado
(
0
)
->
findPk
(
$bus_id
);
...
...
@@ -136,14 +136,14 @@ class BackendUsuarioController extends Controller
$log
=
Utiles
::
setLog
(
'BackendBundle\Controller\BackendUsuarioController:actualizarAction[BusId:'
.
$busId
.
']'
,
'backend/backend'
);
$log
->
debug
(
'Entrando.'
);
$bus_id
=
$request
->
get
(
'b
us_
id'
);
$bus_id
=
$request
->
get
(
'bid'
);
$email
=
$request
->
get
(
'backendUsuarioEmail'
);
$nombres
=
$request
->
get
(
'backendUsuarioNombres'
);
$roles
=
$request
->
get
(
'backendUsuarioRoles'
,
array
());
$estado
=
$request
->
get
(
'backendUsuarioEstado'
);
$log
->
debug
(
'b
us_
id:'
.
$bus_id
.
' | email:'
.
$email
.
' | nombres:'
.
$nombres
.
' | estado:'
.
$estado
);
$log
->
debug
(
'bid:'
.
$bus_id
.
' | email:'
.
$email
.
' | nombres:'
.
$nombres
.
' | estado:'
.
$estado
);
if
(
!
is_numeric
(
$bus_id
)
||
!
filter_var
(
$email
,
FILTER_VALIDATE_EMAIL
)
||
$nombres
==
''
||
!
is_numeric
(
$estado
)){
...
...
@@ -199,7 +199,7 @@ class BackendUsuarioController extends Controller
$log
->
debug
(
'Entrando.'
);
$log
->
debug
(
'b
us_
id:'
.
$busId
);
$log
->
debug
(
'bid:'
.
$busId
);
if
(
!
is_numeric
(
$busId
)){
...
...
@@ -233,9 +233,9 @@ class BackendUsuarioController extends Controller
$log
=
Utiles
::
setLog
(
'BackendBundle\Controller\BackendUsuarioController:resetAction[BusId:'
.
$busId
.
']'
,
'backend/backend'
);
$log
->
debug
(
'Entrando.'
);
$bus_id
=
$request
->
get
(
'b
us_
id'
);
$bus_id
=
$request
->
get
(
'bid'
);
$log
->
debug
(
'b
us_
id:'
.
$bus_id
);
$log
->
debug
(
'bid:'
.
$bus_id
);
if
(
!
is_numeric
(
$bus_id
)){
...
...
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