Merge pull request #12457 from snipe/fixed/regression_on_field_associations

Fixed regression in fieldset -> field association
This commit is contained in:
snipe 2023-02-02 15:35:22 -08:00 committed by GitHub
commit f9ef49f886
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,7 +196,7 @@ class CustomFieldsetsController extends Controller
*/
public function associate(Request $request, $id)
{
$set = CustomField::find($id);
$set = CustomFieldset::find($id);
$this->authorize('update', $set);