Fix: Removed warning

This commit is contained in:
Laurent Destailleur 2013-01-16 13:43:25 +01:00
parent a92b1d8677
commit 5497b93247

View File

@ -181,6 +181,8 @@ if (! GETPOST("action") || preg_match('/upgrade/i',GETPOST('action')))
if ($ok) if ($ok)
{ {
$result = $db->DDLDescTable(MAIN_DB_PREFIX."categorie_association"); $result = $db->DDLDescTable(MAIN_DB_PREFIX."categorie_association");
if ($result) // result defined for version 3.2 or -
{
$obj = $db->fetch_object($result); $obj = $db->fetch_object($result);
if ($obj) // It table categorie_association exists if ($obj) // It table categorie_association exists
{ {
@ -251,6 +253,7 @@ if (! GETPOST("action") || preg_match('/upgrade/i',GETPOST('action')))
} }
} }
} }
}
/* /*
* Remove deprecated indexes and constraints for Mysql * Remove deprecated indexes and constraints for Mysql