Mercurial > hg > rc2
comparison program/lib/Roundcube/rcube_mime.php @ 27:c32b53434b47
more compensation for deprecated empty cases
| author | Charlie Root |
|---|---|
| date | Sun, 18 Jan 2026 14:20:29 -0500 |
| parents | bea5a38be938 |
| children |
comparison
equal
deleted
inserted
replaced
| 25:bea5a38be938 | 27:c32b53434b47 |
|---|---|
| 483 if ($line == '-- ') { | 483 if ($line == '-- ') { |
| 484 $last = $idx; | 484 $last = $idx; |
| 485 } | 485 } |
| 486 else { | 486 else { |
| 487 // remove space-stuffing | 487 // remove space-stuffing |
| 488 if ($line[0] === ' ') $line = substr($line, 1); | 488 if ($line[0]?:'' === ' ') $line = substr($line, 1); |
| 489 | 489 |
| 490 if (isset($text[$last]) && $line && !$q_level | 490 if (isset($text[$last]) && $line && !$q_level |
| 491 && $text[$last] != '-- ' | 491 && $text[$last] != '-- ' |
| 492 && $text[$last][strlen($text[$last])-1] == ' ' | 492 && $text[$last][strlen($text[$last])-1] == ' ' |
| 493 ) { | 493 ) { |
