Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
IPok_Web
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
IPok
IPok_Web
Commits
a642d214
Commit
a642d214
authored
6 years ago
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
search
parent
2002984d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
Webservice_model.php
admin/application/models/Webservice_model.php
+1
-3
No files found.
admin/application/models/Webservice_model.php
View file @
a642d214
...
...
@@ -736,13 +736,11 @@ class Webservice_model extends CI_Model {
$query_userdatas
=
$this
->
db
->
get_where
(
"tbl_registration"
,
array
(
"uid"
=>
$data
));
if
(
$query_userdatas
->
num_rows
()
>
0
){
$query_userdata
=
$query_userdatas
->
row_array
();
//print_r($query_userdata);
$this
->
db
->
select
(
"CAST(AES_DECRYPT(`tbl_registration`.`dob`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR) as dob_new"
);
$this
->
db
->
where
(
'uid'
,
$data
);
$querydate
=
$this
->
db
->
get
(
'tbl_registration'
)
->
row
();
//print_r($querydate);
$query_userdata
[
'dob'
]
=
$querydate
->
dob_new
==
''
?
''
:
$querydate
->
dob_new
;
$query_userdata
[
'name'
]
=
$query_userdata
[
'name'
]
==
""
?
""
:
decrypt_data
(
$query_userdata
[
'name'
]);
...
...
@@ -1458,7 +1456,7 @@ class Webservice_model extends CI_Model {
}
if
(
$data
[
'others'
]
==
'DOMICILIARY ATTENDANCE'
){
$where
=
"
CAST(AES_DECRYPT(tbl_doctors.domiciliary_status,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR)
="
.
1
;
$where
=
"
tbl_doctors.domiciliary_status
="
.
1
;
$this
->
db
->
where
(
$where
);
}
}
...
...
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