Skip to content

Commit

Permalink
Issue #4501 - PHP 8.3 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Dec 5, 2023
1 parent 2359d0e commit 84fe29c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e107_handlers/db_verify_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1029,12 +1029,12 @@ function runFix($fixArray='')

if(e107::getDb()->gen($query) !== false)
{
$log->addDebug(LAN_UPDATED.' ['.$query.']');
$log->addDebug(defset('LAN_UPDATED', 'Updated').' ['.$query.']');
$toFix--;
}
else
{
$log->addWarning(LAN_UPDATED_FAILED.' ['.$query.']');
$log->addWarning(defset('LAN_UPDATED_FAILED', 'Update Failed').' ['.$query.']');
$log->addWarning(e107::getDb()->getLastErrorText()); // PDO compatible.
/*if(mysql_errno())
{
Expand Down
4 changes: 4 additions & 0 deletions e107_tests/tests/unit/e_parseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2851,6 +2851,10 @@ public function testCleanHtml()
'expected' => '<td name="G" bgcolor="#660000">colored</td>',
),

18 => array(
'html' => 'Τη γλώσσα μου έδωσαν ελληνική 您好,世界 こんにちは、世界',
'expected' => 'Τη γλώσσα μου έδωσαν ελληνική 您好,世界 こんにちは、世界',
),

);

Expand Down

0 comments on commit 84fe29c

Please sign in to comment.