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

FIX: accounting: fix num_rows without call from $db #32675

Merged

Conversation

alexandre-janniaux
Copy link
Contributor

FIX accounting: fix num_rows without call from $db (PostgreSQL compatibility)

$res->num_rows will not work on PostgreSQL. $db->num_rows() must be used instead to execute the correct procedure depending on the database backend.

alexandre-janniaux and others added 2 commits January 15, 2025 20:03
$res->num_rows will not work on PostgreSQL. $db->num_rows() must be used
instead to execute the correct procedure depending on the database
backend.
@eldy eldy merged commit 0bf729f into Dolibarr:develop Jan 16, 2025
3 of 6 checks passed
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.

2 participants