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
3aa08eee
Commit
3aa08eee
authored
5 years ago
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
a03a61cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Organizer_model.php
application/models/Organizer_model.php
+3
-1
No files found.
application/models/Organizer_model.php
View file @
3aa08eee
...
...
@@ -1668,7 +1668,7 @@ class Organizer_model extends CI_Model {
public
function
editOrganizerVenueDetails
(
$data
){
$res
=
array
(
'status'
=>
0
,
'message'
=>
'Ohh No!! Something Went South'
,
'code'
=>
'ER06'
);
try
{
$data
[
'layout'
]
=
$data
[
'layout_details'
]
=
''
;
unset
(
$data
[
'layout'
])
;
if
(
isset
(
$data
[
'has_layout'
])
&&
$data
[
'has_layout'
]
==
1
){
if
(
isset
(
$_FILES
)
&&
isset
(
$_FILES
[
'layout_image'
])
&&
!
empty
(
$_FILES
[
'layout_image'
])){
$config
=
set_upload_service
(
"assets/uploads/services"
);
...
...
@@ -1689,6 +1689,8 @@ class Organizer_model extends CI_Model {
'weekend_price'
=>
json_decode
(
$data
[
'seat_price'
])[
$index
]);
}
$data
[
'layout_details'
]
=
json_encode
(
$seatLayoutDetails
);
}
else
{
$data
[
'layout'
]
=
$data
[
'layout_details'
]
=
''
;
}
$locData
=
getLocationLatLng
(
$data
[
'location'
]);
if
(
empty
(
$locData
)){
...
...
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