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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user