mirror of
https://github.com/itflow-org/itflow
synced 2026-03-20 12:44:50 +00:00
Fix Calendar not showing when no client is selected
This commit is contained in:
@@ -4,12 +4,12 @@
|
|||||||
if (isset($_GET['client_id'])) {
|
if (isset($_GET['client_id'])) {
|
||||||
require_once "includes/inc_all_client.php";
|
require_once "includes/inc_all_client.php";
|
||||||
$client_event_query = "WHERE event_client_id = $client_id";
|
$client_event_query = "WHERE event_client_id = $client_id";
|
||||||
$client_query = "WHERE client_id = $client_id";
|
$client_query = "WHERE 1 = 1 AND client_id = $client_id";
|
||||||
$client_url = "&client_id=$client_id";
|
$client_url = "&client_id=$client_id";
|
||||||
} else {
|
} else {
|
||||||
require_once "includes/inc_all.php";
|
require_once "includes/inc_all.php";
|
||||||
$client_event_query = '';
|
$client_event_query = '';
|
||||||
$client_query = '';
|
$client_query = 'WHERE 1 = 1';
|
||||||
$client_url = '';
|
$client_url = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user