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;