Skip to content

Commit

Permalink
Merge branch '3.5' of https://github.com/Dolibarr/dolibarr.git into 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Mar 15, 2014
2 parents 18c4d89 + 4db8af8 commit ee70f21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/holiday/fiche.php
Expand Up @@ -1039,7 +1039,7 @@ function valider()
$idGroupValid = $cp->getConfCP('userGroup');

$validator = new UserGroup($db,$idGroupValid);
$valideur = $validator->listUsersForGroup();
$valideur = $validator->listUsersForGroup('',1);

print '<td>';
$form->select_users($cp->fk_validator,"valideur",1,"",0,$valideur,'');
Expand Down
Expand Up @@ -75,7 +75,7 @@

if ($mode != 'confirm') $conf->global->MAIN_DISABLE_ALL_MAILS=1;

$sql = "SELECT DISTINCT c.ref, c.fk_soc, cd.date_fin_validite, cd.total_ttc, cd.description as description, p.label as plabel, s.nom as name, s.email, s.default_lang,";
$sql = "SELECT DISTINCT c.ref, c.fk_soc, cd.date_fin_validite, cd.total_ttc, cd.description as description, p.label as plabel, s.rowid, s.nom as name, s.email, s.default_lang,";
$sql.= " u.rowid as uid, u.lastname, u.firstname, u.email, u.lang";
$sql.= " FROM ".MAIN_DB_PREFIX."societe AS s, ".MAIN_DB_PREFIX."contrat AS c, ".MAIN_DB_PREFIX."contratdet AS cd";
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."product AS p ON p.rowid = cd.fk_product, ".MAIN_DB_PREFIX."societe_commerciaux AS sc, ".MAIN_DB_PREFIX."user AS u";
Expand Down

0 comments on commit ee70f21

Please sign in to comment.