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

Remove & reference declaration from db_query to avoid warning #870

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

onli
Copy link
Member

@onli onli commented Feb 10, 2025

Also adjusts the code that calls the function with a prepended &, as that would have caused a new warning. Fixes #848.

Also adjusts the code that calls the function with a prepended &, as that would have caused a new warning. Fixes #848
@onli onli requested a review from garvinhicking February 10, 2025 21:47
@onli
Copy link
Member Author

onli commented Feb 10, 2025

@garvinhicking I don't currently understand the idea of the & function declaration. What was the idea here, how could database query results be passed as reference and thus mutated? I assume I'm missing something, this is not my area of expertise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error from mysql.inc.php
1 participant