Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove assignment by reference operator. #66

Merged
merged 1 commit into from
Jul 3, 2019
Merged

Remove assignment by reference operator. #66

merged 1 commit into from
Jul 3, 2019

Conversation

cjbayliss
Copy link
Contributor

For some reason this pointer to the data of $current_user causes apache2 to segfault under php7.3 (see the comment on #39 (comment)).

Using &$current_user was originally added in da3e7cc

TBH, I'm not entirely sure why this causes a segfault, but I think this bug fix has something to do with it: https://www.php.net/manual/en/migration73.incompatible.php#migration73.incompatible.core.static-properties

For what its worth, I have tested logging in and out multiple times with this change under php5.6, php7.0, and php7.3 and it works just fine under each version.

@cjbayliss cjbayliss merged commit dca7ce6 into cyberitsolutions:master Jul 3, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants