This commit is contained in:
Hugo Sampaio 2024-05-13 11:22:57 -03:00
parent 13a45c81a0
commit 352fbd852e
2 changed files with 2 additions and 2 deletions

View File

@ -987,7 +987,7 @@ $update_message = $updates->update_message;
if ($updates->current_version !== $updates->latest_version) {
// Send Alert to inform Updates Available
mysqli_query($mysqli, "INSERT INTO notifications SET notification_type = 'Updates', notification = '$update_message', notification_action = 'admin_update.php'");
mysqli_query($mysqli, "INSERT INTO notifications SET notification_type = 'Update', notification = '$update_message', notification_action = 'admin_update.php'");
}

View File

@ -1190,7 +1190,7 @@ function getTicketStatusName($ticket_status) {
function fetchUpdates() {
global $mysqli, $repo_branch;
global $repo_branch;
// Fetch the latest code changes but don't apply them
exec("git fetch", $output, $result);