mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 07:36:32 +02:00
Installation notices fix
This commit is contained in:
@@ -393,6 +393,7 @@ class e_db_mysql
|
|||||||
{
|
{
|
||||||
$table = $this->db_IsLang($tableName);
|
$table = $this->db_IsLang($tableName);
|
||||||
$this->mySQLcurTable = $table;
|
$this->mySQLcurTable = $table;
|
||||||
|
$REPLACE = false; // kill any PHP notices
|
||||||
if(is_array($arg))
|
if(is_array($arg))
|
||||||
{
|
{
|
||||||
if(isset($arg['WHERE'])) // use same array for update and insert.
|
if(isset($arg['WHERE'])) // use same array for update and insert.
|
||||||
@@ -1580,7 +1581,7 @@ class e_db_mysql
|
|||||||
else
|
else
|
||||||
{ // Need to try and find a table definition
|
{ // Need to try and find a table definition
|
||||||
$searchArray = array(e_ADMIN.'sql/db_field_defs.php');
|
$searchArray = array(e_ADMIN.'sql/db_field_defs.php');
|
||||||
$sqlFiles = e107::getPref('e_sql_list');
|
$sqlFiles = (array) e107::getPref('e_sql_list', array()); // kill any PHP notices
|
||||||
foreach ($sqlFiles as $p => $f)
|
foreach ($sqlFiles as $p => $f)
|
||||||
{
|
{
|
||||||
$searchArray[] = e_PLUGIN.$p.'/db_field_defs.php';
|
$searchArray[] = e_PLUGIN.$p.'/db_field_defs.php';
|
||||||
|
Reference in New Issue
Block a user