Fix Update

This commit is contained in:
johnnyq
2024-06-07 20:45:33 -04:00
parent 02445811fa
commit a17fbcfc1d
2 changed files with 2 additions and 2 deletions

View File

@@ -764,7 +764,7 @@ if (isset($_GET['update'])) {
//git fetch downloads the latest from remote without trying to merge or rebase anything. Then the git reset resets the master branch to what you just fetched. The --hard option changes all the files in your working tree to match the files in origin/master
if(isset($_GET['force_update'] == 1)) {
if(isset($_GET['force_update']) == 1) {
exec("git fetch --all");
exec("git reset --hard origin/master");
} else {