mirror of https://github.com/itflow-org/itflow
Removed unnessesary line from add_ticket that was meant for edit ticket was casuing php to throw undefined client_id var
This commit is contained in:
parent
089016265c
commit
a3aae0d955
|
|
@ -27,7 +27,7 @@
|
||||||
$client_id = $row['client_id'];
|
$client_id = $row['client_id'];
|
||||||
$client_name = $row['client_name'];
|
$client_name = $row['client_name'];
|
||||||
?>
|
?>
|
||||||
<option <?php if($_GET['client_id'] == $client_id) { echo "selected"; } ?> value="<?php echo "$client_id"; ?>"><?php echo "$client_name"; ?></option>
|
<option value="<?php echo $client_id; ?>"><?php echo "$client_name"; ?></option>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,5 @@
|
||||||
<?php include("header.php");
|
<?php include("header.php");
|
||||||
|
|
||||||
//Rebuild URL
|
|
||||||
|
|
||||||
$url_query_strings_sb = http_build_query(array_merge($_GET,array('sb' => $sb, 'o' => $o)));
|
|
||||||
|
|
||||||
//Paging
|
//Paging
|
||||||
if(isset($_GET['p'])){
|
if(isset($_GET['p'])){
|
||||||
$p = intval($_GET['p']);
|
$p = intval($_GET['p']);
|
||||||
|
|
@ -40,6 +36,10 @@
|
||||||
$disp = "DESC";
|
$disp = "DESC";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Rebuild URL
|
||||||
|
|
||||||
|
$url_query_strings_sb = http_build_query(array_merge($_GET,array('sb' => $sb, 'o' => $o)));
|
||||||
|
|
||||||
$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM users, permissions
|
$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM users, permissions
|
||||||
WHERE users.user_id = permissions.user_id
|
WHERE users.user_id = permissions.user_id
|
||||||
AND (name LIKE '%$q%' OR email LIKE '%$q%')
|
AND (name LIKE '%$q%' OR email LIKE '%$q%')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue