Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
TimeOut
TimeOutAdmin
Commits
c9c09999
Commit
c9c09999
authored
5 years ago
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
6d053335
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Api.php
application/controllers/Api.php
+2
-1
No files found.
application/controllers/Api.php
View file @
c9c09999
...
@@ -605,7 +605,8 @@ class Api extends CI_Controller {
...
@@ -605,7 +605,8 @@ class Api extends CI_Controller {
empty
(
$resp
->
txnCardDetails
)
||
count
(
$resp
->
txnCardDetails
)
<=
0
){
empty
(
$resp
->
txnCardDetails
)
||
count
(
$resp
->
txnCardDetails
)
<=
0
){
$this
->
errorResponse
(
'893'
,
'No Data Found'
);
$this
->
errorResponse
(
'893'
,
'No Data Found'
);
}
}
$resp
=
$this
->
encrypt
(
"'"
.
json_encode
(
$resp
->
txnCardDetails
)
.
"'"
,
$this
->
local_key
,
$this
->
local_iv
);
pr
(
json_encode
(
$resp
->
txnCardDetails
));
$resp
=
$this
->
encrypt
(
$resp
->
txnCardDetails
,
$this
->
local_key
,
$this
->
local_iv
);
$this
->
response
(
array
(
'saved_cards'
=>
$resp
));
$this
->
response
(
array
(
'saved_cards'
=>
$resp
));
}
}
...
...
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