Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure member id is a int #7888

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

jdarwood007
Copy link
Member

If the member does not exist, this will return null and can not be assigned to the variables

	public int $first_member_id = 0;
	public int $last_member_id = 0;

We could also make those nullable ints, this seems to me the better of the two solutions

Fixes #7877

If the member does not exist, this will return null and can not be assigned to the variables
```
	public int $first_member_id = 0;
	public int $last_member_id = 0;
```

We could also make those nullable ints, this seems to me the better of the two solutions

Fixes SimpleMachines#7877
@jdarwood007 jdarwood007 added this to the 3.0 Alpha 1 milestone Nov 18, 2023
@Sesquipedalian Sesquipedalian merged commit 78e61cf into SimpleMachines:release-3.0 Nov 25, 2023
3 checks passed
@jdarwood007 jdarwood007 deleted the FixSearch branch November 28, 2023 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Searching causes errors
2 participants