typos
This commit is contained in:
2
cron.php
2
cron.php
@@ -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'");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user