RADICORE V2.27.0 released [message #7842] |
Sat, 14 October 2023 06:28 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
This version fixes a few more NULL values in function arguments which were deprecated in PHP 8.1, plus a few other minor bug fixes.
Database changes:
- none
Other changes:
- added optional constant ERROR_LOG_MAILFROM to config.inc file.
- updated error.inc so that the ‘from’ address for any emails will be set to ERROR_LOG_MAILFROM (if present) in the config.inc file instead of the default address of ‘webmaster@{$_SERVER['HTTP_HOST']}’
- updated error.inc so that if a call to fread or fwrite generates a warning containing ‘fail’ or ‘abort’ it will be converted into an error.
- updated include.library.inc to set the 2nd argument of the call to http_build_query() to an empty string instead of null.
- updated include.library.inc to add more error checking in the ‘getForeignKeyValues()’ function.
- updated include.library.inc to add an optional 4th argument to the ‘getPostArray()’ function.
- updated include.library.inc to make the ‘html2text()’ function more effective.
- updated include.library.inc to include a new ‘reduceHyperlinks()’ function to convert hyperlinks into plain text.
- updated include.library.inc to allow the $extra_headers argument on the ‘send_email()’ function to be either an array or a string.
- updated include.session.inc to set SKIP_CSRF_CHECK to false in an earlier place if it is not currently defined.
- updated include.session.inc to skip the check for an AWS load balancer if the current script is running via the command line.
- updated include.session.inc to include correct validation for the SSO (Single Sign On) option.
- updated include.session.inc so that the ‘runInBackground()’ function will fail with a suitable error message if headers have already been sent.
- updated include.swiftmailer.inc (deprecated) so that an HTML mail is sent correctly with a separate version in plain text.
- updated include.symfony_mailer.inc to fix bug in handling of replyTo/cc/bcc addresses.
- updated include.xml.php5.inc to include the ability of adding the zone identity to column names in those screens which deal with more than one entity and the same column name is used in more than one entity in order to keep their values separate.
- updated include.xml.php5.inc to deal with NULL values in function arguments which were deprecated in PHP 8.1.
- updated language_detection.inc to deal with NULL values in function arguments which were deprecated in PHP 8.1.
- updated output4_header.class.inc to allow the ‘selected’ field to be specified as ‘select’.
- updated std.add1.inc so that if the ‘submitStay’ button was pressed it restarts the current task properly.
- updated std.add5/6/7.inc to fix bugs with the calls to getPostArray() and updateFieldArray().
- added std.control_record.class which should be inherited by classes used in UPDATE3 tasks as this contains the default processing. Tis replaces the need to inherit from mnu_control.class.inc.
- updated std.currency.class.inc to deal with NULL values in function arguments which were deprecated in PHP 8.1.
- updated std.encryption.class.inc to deal with NULL values in function arguments which were deprecated in PHP 8.1.
- updated std.filepicker1.inc to fix bug when changing the ‘orderby’ value in the screen.
- updated std.list2.inc to set the correct value in the $where string when returning to a search screen.
- updated std.multi2/3/4/5/6.inc to add missing zone identity on the call to getPostArray()
- updated std.output3.inc to set $batch_errors[‘where’] to the correct value.
- updated std.output4.inc to move he call to $dbinner->setAction() to a better place.
- updated std.pdf.class.inc to deal with NULL values in function arguments which were deprecated in PHP 8.1.
- updated std.table.class.inc to deal with NULL values in function arguments which were deprecated in PHP 8.1.
- updated std.table.class.inc so that the insertMultiple() method will ignore any record which has ‘rdc_to_be_ignored’ set.
- updated std.table.class.inc so that the popupReturn() method can deal properly with a $selection arument which contains the keys for multiple selections as well as a single selection.
- updated std.table.class.inc so that the updateFieldArray() function includes an extra argument which identifies the object’s zone.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
[Updated on: Tue, 24 October 2023 04:25] Report message to a moderator
|
|
|