Home » RADICORE development » Bug Reports » PHP 8 - ListViewPrintAfter()
|
|
|
|
Re: PHP 8 - ListViewPrintAfter() [message #7809 is a reply to message #7808] |
Sat, 18 March 2023 06:07   |
AJM
Messages: 2382 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
$next_row is set to FALSE if there is no next row. This always happens at end-of-file (EOF). Before you attempt to use the contents of $next_row you should check that it is not empty.
Similarly in the _cm_ListView_print_before() method the $prev_row parameter will be empty if there is no previous record. This always happens when you start by reading the first record.
[Updated on: Sat, 18 March 2023 06:08] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Sat Jun 21 14:23:36 EDT 2025
Total time taken to generate the page: 0.01254 seconds
|