mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
PHP8 Compatibility Fixes
This commit is contained in:
@@ -501,8 +501,9 @@
|
||||
}
|
||||
|
||||
|
||||
while(list($tKey, $tMarker) = each($this->aTimeMarks))
|
||||
foreach($this->aTimeMarks as $tKey => $tMarker)
|
||||
{
|
||||
|
||||
if(!$bRowHeaders)
|
||||
{
|
||||
// First time: emit headers
|
||||
|
@@ -1036,7 +1036,7 @@ class e_parse extends e_parser
|
||||
if (in_array(substr($lvalue, 1), $nobreak))
|
||||
{
|
||||
reset($innbk);
|
||||
while (list($key, $tag) = each($innbk))
|
||||
foreach($innbk as $key=>$tag)
|
||||
{
|
||||
if (substr($lvalue, 1) == $tag)
|
||||
{
|
||||
|
@@ -111,7 +111,7 @@ class receiveMail
|
||||
}
|
||||
if($structure->type == 1) /* multipart */
|
||||
{
|
||||
while(list($index, $sub_structure) = each($structure->parts))
|
||||
foreach($structure->parts as $index => $sub_structure)
|
||||
{
|
||||
if($part_number)
|
||||
{
|
||||
|
@@ -159,7 +159,7 @@ class pop3BounceHandler
|
||||
}
|
||||
if($structure->type == 1) /* multipart */
|
||||
{
|
||||
while(list($index, $sub_structure) = each($structure->parts))
|
||||
foreach($structure->parts as $index => $sub_structure)
|
||||
{
|
||||
if($part_number)
|
||||
{
|
||||
|
Reference in New Issue
Block a user