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
58eea44d
Commit
58eea44d
authored
5 years ago
by
Tobin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'dev_production'
Master See merge request
!291
parents
83d61071
4396915f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Event.php
application/controllers/Event.php
+5
-1
No files found.
application/controllers/Event.php
View file @
58eea44d
...
...
@@ -37,8 +37,12 @@ class Event extends CI_Controller {
$template
[
'venue_id'
]
=
$_POST
[
'venue_id'
];
$template
[
'venueData'
]
=
$this
->
Venue_model
->
getVenueData
(
$template
[
'venue_id'
]);
}
if
((
$this
->
session
->
userdata
[
'user_type'
]
==
2
)){
$provider_id
=
(
$this
->
session
->
userdata
[
'user_type'
]
==
2
)
?
$this
->
session
->
userdata
[
'id'
]
:
''
;
$template
[
'venueList'
][]
=
$this
->
Venue_model
->
getVenueData
(
$provider_id
,
'1'
);
}
else
{
$template
[
'venueList'
]
=
$this
->
Venue_model
->
getVenueData
(
''
,
'1'
);
}
$template
[
'page'
]
=
'Event/eventAddForm'
;
$template
[
'menu'
]
=
'Event Management'
;
...
...
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