mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 08:14:52 +00:00
Calendar Events: use client_id instead of client in POST and enforceClientAccess if client is assigned to an event
This commit is contained in:
@@ -120,7 +120,7 @@
|
||||
<div class="tab-pane fade" id="pills-attendees">
|
||||
|
||||
<?php if (isset($client_id)) { ?>
|
||||
<input type="hidden" name="client" value="<?php echo $client_id; ?>">
|
||||
<input type="hidden" name="client_id" value="<?php echo $client_id; ?>">
|
||||
<?php } else{ ?>
|
||||
|
||||
<div class="form-group">
|
||||
@@ -129,7 +129,7 @@
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-user"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="client">
|
||||
<select class="form-control select2" name="client_id">
|
||||
<option value="">- Client -</option>
|
||||
<?php
|
||||
|
||||
|
||||
@@ -143,7 +143,7 @@ ob_start();
|
||||
<div class="tab-pane fade" id="pills-attendees<?php echo $event_id; ?>">
|
||||
|
||||
<?php if (isset($_GET['client_id'])) { ?>
|
||||
<input type="hidden" name="client" value="<?php echo $client_id; ?>">
|
||||
<input type="hidden" name="client_id" value="<?php echo $client_id; ?>">
|
||||
<?php } else { ?>
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
Reference in New Issue
Block a user