Skip to content

Commit

Permalink
Update field.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joomdonation committed Apr 14, 2021
1 parent d105adf commit cc94b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_fields/controllers/field.php
Expand Up @@ -99,7 +99,7 @@ protected function allowEdit($data = array(), $key = 'id')
}

// Grant if current user is owner of the record
return $user->id == $record->created_by;
return $user->id == $record->created_user_id;
}

return false;
Expand Down

0 comments on commit cc94b2f

Please sign in to comment.