Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcarfixers
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobin
dcarfixers
Commits
ae5d7bb1
Commit
ae5d7bb1
authored
5 years ago
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change social login
parent
56c7c3b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Webservices.php
application/controllers/Webservices.php
+4
-4
No files found.
application/controllers/Webservices.php
View file @
ae5d7bb1
...
@@ -2838,11 +2838,11 @@
...
@@ -2838,11 +2838,11 @@
$msg
=
'Provide Registartion type'
;
$msg
=
'Provide Registartion type'
;
}
}
if
(
$postData
[
'isRegistration'
]
==
'1'
){
if
(
$postData
[
'isRegistration'
]
==
'1'
){
if
(
!
isset
(
$postData
[
'
data'
][
'phone'
])
||
empty
(
$postData
[
'data'
]
[
'phone'
])){
if
(
!
isset
(
$postData
[
'
phone'
])
||
empty
(
$postData
[
'phone'
])){
$err
=
1
;
$err
=
1
;
$msg
=
'Provide a Phone Number'
;
$msg
=
'Provide a Phone Number'
;
}
}
else
if
(
!
isset
(
$postData
[
'
data'
][
'country_code'
])
||
empty
(
$postData
[
'data'
]
[
'country_code'
])){
else
if
(
!
isset
(
$postData
[
'
country_code'
])
||
empty
(
$postData
[
'country_code'
])){
$err
=
1
;
$err
=
1
;
$msg
=
'Provide a Country code'
;
$msg
=
'Provide a Country code'
;
}
}
...
@@ -2852,8 +2852,8 @@
...
@@ -2852,8 +2852,8 @@
echo
json_encode
(
$respArr
);
exit
;
echo
json_encode
(
$respArr
);
exit
;
}
}
$postData
[
'profile_image'
]
=
NULL
;
$postData
[
'profile_image'
]
=
NULL
;
$postData
[
'phone'
]
=
(
isset
(
$postData
[
'
data'
][
'phone'
])
&&
!
empty
(
$postData
[
'data'
][
'phone'
]))
?
$postData
[
'data'
]
[
'phone'
]
:
''
;
$postData
[
'phone'
]
=
(
isset
(
$postData
[
'
phone'
])
&&
!
empty
(
$postData
[
'phone'
]))
?
$postData
[
'phone'
]
:
''
;
$postData
[
'country_code'
]
=
(
isset
(
$postData
[
'
data'
][
'country_code'
])
&&
!
empty
(
$postData
[
'data'
][
'country_code'
]))
?
$postData
[
'data'
]
[
'country_code'
]
:
''
;
$postData
[
'country_code'
]
=
(
isset
(
$postData
[
'
country_code'
])
&&
!
empty
(
$postData
[
'country_code'
]))
?
$postData
[
'country_code'
]
:
''
;
if
(
isset
(
$postData
[
'data'
][
'profileImg'
])
&&
!
empty
(
$postData
[
'data'
][
'profileImg'
])){
if
(
isset
(
$postData
[
'data'
][
'profileImg'
])
&&
!
empty
(
$postData
[
'data'
][
'profileImg'
])){
$imageData
=
file_get_contents
(
$postData
[
'data'
][
'profileImg'
]);
$imageData
=
file_get_contents
(
$postData
[
'data'
][
'profileImg'
]);
$userlImg
=
'assets/uploads/services/userImg_'
.
time
()
.
'.jpg'
;
$userlImg
=
'assets/uploads/services/userImg_'
.
time
()
.
'.jpg'
;
...
...
This diff is collapsed.
Click to expand it.
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