1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 22:53:01 +02:00

Issue #5443 - PHP 8.4 fixes.

This commit is contained in:
camer0n
2025-03-16 12:48:18 -07:00
parent a41e9bbde3
commit 52041d406f
3 changed files with 24 additions and 6 deletions

View File

@@ -425,7 +425,10 @@ class db_verify
}
public function hasSyntaxIssue($sqlFileData): bool
{
return false; // TODO check syntax for errrors.
}
/**
* @param string $tbl table name without prefix.
@@ -437,6 +440,11 @@ class db_verify
*/
public function prepareResults($tbl, $selection, $sqlData, $fileData)
{
if($this->hasSyntaxIssue($fileData))
{
return false;
}
// Check field and index data
foreach(['field', 'index'] as $type)
{