mirror of https://github.com/itflow-org/itflow
Update Database updates patch in update_cli
This commit is contained in:
parent
874d9ddbc3
commit
7172c92f02
|
|
@ -114,7 +114,7 @@ if (isset($options['update_db'])) {
|
||||||
$old_db_version = $row['config_current_database_version'];
|
$old_db_version = $row['config_current_database_version'];
|
||||||
|
|
||||||
// Now include the update logic
|
// Now include the update logic
|
||||||
require_once "../database_updates.php";
|
require_once "../admin/database_updates.php";
|
||||||
|
|
||||||
// After database_updates.php has done its job, fetch the updated current DB version again
|
// After database_updates.php has done its job, fetch the updated current DB version again
|
||||||
$result = mysqli_query($mysqli, "SELECT config_current_database_version FROM settings LIMIT 1");
|
$result = mysqli_query($mysqli, "SELECT config_current_database_version FROM settings LIMIT 1");
|
||||||
|
|
|
||||||
|
|
@ -374,10 +374,10 @@ if (isset($_GET['ticket_id'])) {
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header p-2 px-2">
|
||||||
<div class="card-title">
|
<div class="card-title">
|
||||||
<i class="fa fa-2x fa-fw fa fa-life-ring text-secondary mr-2"></i>
|
<i class="fa fa-2x fa-fw fa fa-life-ring text-secondary mr-1"></i>
|
||||||
<span class="h3">
|
<span class="h4">
|
||||||
<?php echo "$ticket_prefix$ticket_number"; ?>
|
<?php echo "$ticket_prefix$ticket_number"; ?>
|
||||||
<span class='badge badge-pill text-light ml-1' style="background-color: <?php echo $ticket_status_color; ?>">
|
<span class='badge badge-pill text-light ml-1' style="background-color: <?php echo $ticket_status_color; ?>">
|
||||||
<?php echo $ticket_status_name; ?>
|
<?php echo $ticket_status_name; ?>
|
||||||
|
|
@ -415,7 +415,7 @@ if (isset($_GET['ticket_id'])) {
|
||||||
</a>
|
</a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<div class="dropdown dropleft text-center ml-3">
|
<div class="dropdown dropleft text-center ml-3 mr-2">
|
||||||
<button class="btn btn-secondary btn-sm" type="button" id="dropdownMenuButton" data-toggle="dropdown">
|
<button class="btn btn-secondary btn-sm" type="button" id="dropdownMenuButton" data-toggle="dropdown">
|
||||||
<i class="fas fa-fw fa-ellipsis-v"></i>
|
<i class="fas fa-fw fa-ellipsis-v"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue