mirror of https://github.com/itflow-org/itflow
Fixed regression with logging broke edit license as logging required the client_id to be passed
This commit is contained in:
parent
32743e629d
commit
9e0d8020a8
|
|
@ -10,6 +10,7 @@
|
|||
<form action="post.php" method="post" autocomplete="off">
|
||||
<input type="hidden" name="software_id" value="<?php echo $software_id; ?>">
|
||||
<input type="hidden" name="login_id" value="<?php echo $login_id; ?>">
|
||||
<input type="hidden" name="client_id" value="<?php echo $client_id; ?>">
|
||||
<div class="modal-body bg-white">
|
||||
|
||||
<ul class="nav nav-pills nav-justified mb-3">
|
||||
|
|
|
|||
1
post.php
1
post.php
|
|
@ -5540,6 +5540,7 @@ if(isset($_POST['edit_software'])){
|
|||
|
||||
$software_id = intval($_POST['software_id']);
|
||||
$login_id = intval($_POST['login_id']);
|
||||
$client_id = intval($_POST['client_id']);
|
||||
$name = trim(strip_tags(mysqli_real_escape_string($mysqli,$_POST['name'])));
|
||||
$version = trim(strip_tags(mysqli_real_escape_string($mysqli,$_POST['version'])));
|
||||
$type = trim(strip_tags(mysqli_real_escape_string($mysqli,$_POST['type'])));
|
||||
|
|
|
|||
Loading…
Reference in New Issue