From 6e2853b6fdfb11912ddb0161255ac395fe79a040 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Thu, 14 Oct 2021 18:40:34 +0200 Subject: [PATCH] Fixed sometimes not saving patched_by --- application/Patching/PatchingController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/Patching/PatchingController.php b/application/Patching/PatchingController.php index e92b92963..4335a1c63 100644 --- a/application/Patching/PatchingController.php +++ b/application/Patching/PatchingController.php @@ -188,7 +188,7 @@ class PatchingController extends mfBaseController { $patch_data["patched_date"] = date("U"); } } else { - if($patch_data["patched"] && !$patchind->patched) { + if($patch_data["patched"] && !$patching->patched) { $patch_data["patched_by"] = $this->me->id; $patch_data["patched_date"] = date("U"); } @@ -201,7 +201,6 @@ class PatchingController extends mfBaseController { return $this->indexAction(); } - $sq = ""; $query = []; if(is_numeric($this->request->s) && $this->request->s > 0) { $query["s"] = $this->request->s;