Fix systematic errors in pagination, sucursal warnings, and fatal count() errors across multiple modules

This commit is contained in:
2026-01-07 01:06:27 -06:00
parent aaa77e870e
commit 3a5afa82fe
354 changed files with 9022 additions and 15093 deletions

View File

@@ -385,7 +385,7 @@ class SMTP {
$max_line_length = 998; // used below; set here for ease in change
while(list(,$line) = @each($lines)) {
foreach($lines as $line) {
$lines_out = null;
if($line == "" && $in_headers) {
$in_headers = false;
@@ -414,7 +414,7 @@ class SMTP {
$lines_out[] = $line;
// send the lines to the server
while(list(,$line_out) = @each($lines_out)) {
foreach($lines_out as $line_out) {
if(strlen($line_out) > 0)
{
if(substr($line_out, 0, 1) == ".") {