|
@@ 232-233 (lines=2) @@
|
| 229 |
|
AND function_exists('lister_tables_objets_sql')){ |
| 230 |
|
$tables = lister_tables_objets_sql(); |
| 231 |
|
foreach($tables as $t=>$infos){ |
| 232 |
|
if ($infos['principale'] AND !isset($tables_principales[$t])) |
| 233 |
|
$tables_principales[$t] = true; |
| 234 |
|
if (!$infos['principale'] AND !isset($tables_auxiliaires[$t])) |
| 235 |
|
$tables_auxiliaires[$t] = true; |
| 236 |
|
if (count($infos['tables_jointures'])) |
|
@@ 234-235 (lines=2) @@
|
| 231 |
|
foreach($tables as $t=>$infos){ |
| 232 |
|
if ($infos['principale'] AND !isset($tables_principales[$t])) |
| 233 |
|
$tables_principales[$t] = true; |
| 234 |
|
if (!$infos['principale'] AND !isset($tables_auxiliaires[$t])) |
| 235 |
|
$tables_auxiliaires[$t] = true; |
| 236 |
|
if (count($infos['tables_jointures'])) |
| 237 |
|
$tables_jointures[$t] = array_merge(isset($tables_jointures[$t])?$tables_jointures[$t]:array(),$infos['tables_jointures']); |
| 238 |
|
} |