2
0
forked from Wavyzz/dolibarr

Fix Not into official 3.7 but must be into migration for 3.7 when

migration is done by 3.8 code
This commit is contained in:
Laurent Destailleur
2015-03-20 15:19:42 +01:00
parent 3a9c195f10
commit 92af226fff
2 changed files with 11 additions and 4 deletions

View File

@@ -407,10 +407,11 @@ $var=true;
//Remove any invalid response
//load_board can return an integer if failed or WorkboardResponse if OK
$valid_dashboardlines = array_filter($dashboardlines, function ($board) {
return $board instanceof WorkboardResponse;
});
$valid_dashboardlines=array();
foreach($dashboardlines as $tmp)
{
if ($tmp instanceof WorkboardResponse) $valid_dashboardlines[] = $tmp;
}
$rowspan = count($valid_dashboardlines);
foreach($valid_dashboardlines as $board)

View File

@@ -1165,3 +1165,9 @@ UPDATE llx_bank_url set url = REPLACE( url, 'fiche.php', 'card.php');
-- Add id commandefourndet in llx_commande_fournisseur_dispatch to correct /fourn/commande/dispatch.php display when several times same product in supplier order
ALTER TABLE llx_commande_fournisseur_dispatch ADD COLUMN fk_commandefourndet INTEGER NOT NULL DEFAULT 0 AFTER fk_product;
-- Not into official 3.7 but must be into migration for 3.7 when migration is done by 3.8 code
ALTER TABLE llx_extrafields ADD COLUMN perms varchar(255) after fieldrequired;
ALTER TABLE llx_extrafields ADD COLUMN list integer DEFAULT 0 after perms;