mirror of https://github.com/itflow-org/itflow
No need to enforce client permission check as its already handled in inc_all_client.php
This commit is contained in:
parent
19daa289b2
commit
eab441da06
|
|
@ -7,8 +7,6 @@ $order = "ASC";
|
||||||
// If client_id is in URI then show client Side Bar and client header
|
// If client_id is in URI then show client Side Bar and client header
|
||||||
if (isset($_GET['client_id'])) {
|
if (isset($_GET['client_id'])) {
|
||||||
require_once "includes/inc_all_client.php";
|
require_once "includes/inc_all_client.php";
|
||||||
// Perms
|
|
||||||
enforceUserPermission('module_client');
|
|
||||||
$client_query = "AND vendor_client_id = $client_id";
|
$client_query = "AND vendor_client_id = $client_id";
|
||||||
} else {
|
} else {
|
||||||
require_once "includes/inc_all.php";
|
require_once "includes/inc_all.php";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue