mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +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)
|
if(!$bRowHeaders)
|
||||||
{
|
{
|
||||||
// First time: emit headers
|
// First time: emit headers
|
||||||
|
@@ -1036,7 +1036,7 @@ class e_parse extends e_parser
|
|||||||
if (in_array(substr($lvalue, 1), $nobreak))
|
if (in_array(substr($lvalue, 1), $nobreak))
|
||||||
{
|
{
|
||||||
reset($innbk);
|
reset($innbk);
|
||||||
while (list($key, $tag) = each($innbk))
|
foreach($innbk as $key=>$tag)
|
||||||
{
|
{
|
||||||
if (substr($lvalue, 1) == $tag)
|
if (substr($lvalue, 1) == $tag)
|
||||||
{
|
{
|
||||||
|
@@ -111,7 +111,7 @@ class receiveMail
|
|||||||
}
|
}
|
||||||
if($structure->type == 1) /* multipart */
|
if($structure->type == 1) /* multipart */
|
||||||
{
|
{
|
||||||
while(list($index, $sub_structure) = each($structure->parts))
|
foreach($structure->parts as $index => $sub_structure)
|
||||||
{
|
{
|
||||||
if($part_number)
|
if($part_number)
|
||||||
{
|
{
|
||||||
|
@@ -159,7 +159,7 @@ class pop3BounceHandler
|
|||||||
}
|
}
|
||||||
if($structure->type == 1) /* multipart */
|
if($structure->type == 1) /* multipart */
|
||||||
{
|
{
|
||||||
while(list($index, $sub_structure) = each($structure->parts))
|
foreach($structure->parts as $index => $sub_structure)
|
||||||
{
|
{
|
||||||
if($part_number)
|
if($part_number)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user