1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 15:16:30 +02:00

Installation notices fix

This commit is contained in:
secretr
2010-02-19 09:27:43 +00:00
parent c45cd4583b
commit 994ddd0c30

View File

@@ -393,6 +393,7 @@ class e_db_mysql
{
$table = $this->db_IsLang($tableName);
$this->mySQLcurTable = $table;
$REPLACE = false; // kill any PHP notices
if(is_array($arg))
{
if(isset($arg['WHERE'])) // use same array for update and insert.
@@ -1580,7 +1581,7 @@ class e_db_mysql
else
{ // Need to try and find a table definition
$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)
{
$searchArray[] = e_PLUGIN.$p.'/db_field_defs.php';