Fix repair
This commit is contained in:
parent
1e33495f42
commit
89bfb81cc7
@ -211,7 +211,8 @@ if ($ok)
|
|||||||
$extrafields=new ExtraFields($db);
|
$extrafields=new ExtraFields($db);
|
||||||
$listofmodulesextra=array('societe'=>'societe','adherent'=>'adherent','product'=>'product',
|
$listofmodulesextra=array('societe'=>'societe','adherent'=>'adherent','product'=>'product',
|
||||||
'socpeople'=>'socpeople', 'commande'=>'commande', 'facture'=>'facture',
|
'socpeople'=>'socpeople', 'commande'=>'commande', 'facture'=>'facture',
|
||||||
'commande_fournisseur'=>'commande_fournisseur', 'actioncomm'=>'actioncomm',
|
'supplier_proposal'=>'supplier_proposal', 'commande_fournisseur'=>'commande_fournisseur', 'facture_fourn'=>'facture_fourn',
|
||||||
|
'actioncomm'=>'actioncomm',
|
||||||
'adherent_type'=>'adherent_type','user'=>'user','projet'=>'projet', 'projet_task'=>'projet_task');
|
'adherent_type'=>'adherent_type','user'=>'user','projet'=>'projet', 'projet_task'=>'projet_task');
|
||||||
print '<tr><td colspan="2"><br>*** Check fields into extra table structure match table of definition. If not add column into table</td></tr>';
|
print '<tr><td colspan="2"><br>*** Check fields into extra table structure match table of definition. If not add column into table</td></tr>';
|
||||||
foreach($listofmodulesextra as $tablename => $elementtype)
|
foreach($listofmodulesextra as $tablename => $elementtype)
|
||||||
@ -303,6 +304,10 @@ if ($ok)
|
|||||||
|
|
||||||
print "</td><td> </td></tr>\n";
|
print "</td><td> </td></tr>\n";
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dol_print_error($db);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user