Default Lookup Value 23.11 and php 8.0

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
mdannatt
Veteran Member
Posts: 41
Joined: 2020-01-27 17:34

Default Lookup Value 23.11 and php 8.0

Post by mdannatt » 2023-05-03 08:46

So i upgraded from 22.x to 23.11 in the hope that the bug, in which default lookup values were not displayed in PHP8.0 (and reported on this forum), STILL hasn't been fixed. I am so disappointed. Why am I paying for "upgrades" that don't fix the issues??
Roses are red, Violets are blue, unexpected '}' on line 32

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: Default Lookup Value 23.11 and php 8.0

Post by a.gneady » 2023-06-24 20:08

Sorry for the late reply. The fix for this issue is to open the generated ajax_combo.php in an editor, find this line:

Code: Select all

'more' => (@db_num_rows($res) >= $results_per_page),
and change it to:

Code: Select all

'more' => ($res && db_num_rows($res) >= $results_per_page),
This fix will be included in AppGini 23.13 within a few days.
:idea: AppGini plugins to add more power to your apps:

Post Reply