Fixed sometimes not saving patched_by
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user