Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
smart_core_connect
/
core-connect
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
986b0ea8
authored
May 22, 2018
by
Zen-PC\Zen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zen : update tin
parent
d4bc76e6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
www/src/Controller/CheckemailsController.php
+2
-2
No files found.
www/src/Controller/CheckemailsController.php
View file @
986b0ea8
...
@@ -13,7 +13,7 @@ class CheckemailsController extends AppController {
...
@@ -13,7 +13,7 @@ class CheckemailsController extends AppController {
'email'
=>
$this
->
request
->
data
[
'email'
]
'email'
=>
$this
->
request
->
data
[
'email'
]
]
]
])
->
first
();
])
->
first
();
if
(
!
empty
(
$emails
)){
if
(
!
empty
(
$emails
)
&&
$emails
[
'email'
]
!=
''
&&
$emails
[
'email'
]
!=
'-'
){
$emails
[
'chk'
]
=
'false'
;
$emails
[
'chk'
]
=
'false'
;
$data
=
json_encode
(
$emails
);
$data
=
json_encode
(
$emails
);
echo
$data
;
echo
$data
;
...
@@ -35,7 +35,7 @@ class CheckemailsController extends AppController {
...
@@ -35,7 +35,7 @@ class CheckemailsController extends AppController {
'email'
=>
$this
->
request
->
data
[
'email'
]
'email'
=>
$this
->
request
->
data
[
'email'
]
]
]
])
->
first
();
])
->
first
();
if
(
!
empty
(
$emails
)){
if
(
!
empty
(
$emails
)
&&
$emails
[
'email'
]
!=
''
&&
$emails
[
'email'
]
!=
'-'
){
if
(
$this
->
request
->
data
[
'userId'
]
==
$emails
[
'user_id'
]){
if
(
$this
->
request
->
data
[
'userId'
]
==
$emails
[
'user_id'
]){
$emails
[
'chk'
]
=
'true'
;
$emails
[
'chk'
]
=
'true'
;
$data
=
json_encode
(
$emails
);
$data
=
json_encode
(
$emails
);
...
...
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