Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

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 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2352
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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cannot delete audit data
Next Topic: Error with date field
Goto Forum:
  


Current Time: Wed Jul 10 06:16:14 EDT 2024

Total time taken to generate the page: 0.03060 seconds