Task #3108 : Domaine fix prob with modele
This commit is contained in:
parent
18114b64a4
commit
f0ab99278b
2 changed files with 3 additions and 3 deletions
|
|
@ -11,8 +11,8 @@ delete from jnt_fic_attr where fd_id=1 and ad_id=19;
|
|||
delete from jnt_fic_attr where fd_id=2 and ad_id=19;
|
||||
-- default periode for phpcompta
|
||||
update user_pref set pref_periode=40 where pref_user='phpcompta';
|
||||
-- create index ix_j_grp jrnx(j_grpt);
|
||||
-- create index ix_jr_grp jrn(jr_grpt_id);
|
||||
-- create index ix_j_grp on jrnx(j_grpt);
|
||||
-- create index ix_jr_grp on jrn(jr_grpt_id);
|
||||
-- version 8
|
||||
update version set val=8;
|
||||
commit;
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ if ( $count == 0 ) {
|
|||
// get the mod_id
|
||||
$l_id=GetSequence($cn,'s_modid');
|
||||
if ( $l_id != 0 ) {
|
||||
$Sql=sprintf("CREATE %sDATABASE MOD%d encoding='ISO8859-1' TEMPLATE DOSSIER%s",domaine,$l_id,$_POST["FMOD_DBID"]);
|
||||
$Sql=sprintf("CREATE DATABASE %sMOD%d encoding='ISO8859-1' TEMPLATE %sDOSSIER%s",domaine,$l_id,domaine,$_POST["FMOD_DBID"]);
|
||||
ExecSql($cn,$Sql);
|
||||
}
|
||||
}// if $mod_name != null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue