Fix: autoselect was not done
This commit is contained in:
parent
5d8f6370dd
commit
2e87531b87
@ -31,7 +31,7 @@
|
||||
* \file htdocs/core/class/html.form.class.php
|
||||
* \ingroup core
|
||||
* \brief File of class with all html predefined components
|
||||
* \version $Id: html.form.class.php,v 1.191 2011/07/21 22:55:06 eldy Exp $
|
||||
* \version $Id: html.form.class.php,v 1.192 2011/07/27 23:37:01 eldy Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -677,7 +677,7 @@ class Form
|
||||
$sql = "SELECT s.rowid, s.name, s.firstname, s.poste FROM";
|
||||
$sql.= " ".MAIN_DB_PREFIX ."socpeople as s";
|
||||
$sql.= " WHERE entity = ".$conf->entity;
|
||||
if ($socid) $sql.= " AND fk_soc=".$socid;
|
||||
if ($socid > 0) $sql.= " AND fk_soc=".$socid;
|
||||
$sql.= " ORDER BY s.name ASC";
|
||||
|
||||
dol_syslog("Form::select_contacts sql=".$sql);
|
||||
|
||||
@ -109,8 +109,8 @@ PHPServerOffsetWithGreenwich=Offset amb Greenwich (segons)
|
||||
ClientOffsetWithGreenwich=Offset client/navegador amb Greenwich (segons)
|
||||
DaylingSavingTime=Horari d'estiu (usuari)
|
||||
CurrentHour=Hora PHP (servidor)
|
||||
CompanyTZ=Zona Horària empresa (casa mare)
|
||||
CompanyHour=Hora empresa (casa mare)
|
||||
CompanyTZ=Zona Horària empresa (seu central)
|
||||
CompanyHour=Hora empresa (seu central)
|
||||
CurrentSessionTimeOut=Time out sessió actual
|
||||
OSEnv=Entorn SO
|
||||
Box=Panell
|
||||
|
||||
@ -109,8 +109,8 @@ PHPServerOffsetWithGreenwich=Offset servidor con Greenwich (segundos)
|
||||
ClientOffsetWithGreenwich=Offset cliente/navegador con Greenwich (segundos)
|
||||
DaylingSavingTime=Horario de verano (usuario)
|
||||
CurrentHour=Hora PHP (servidor)
|
||||
CompanyTZ=Zona Horaria empresa (casa madre)
|
||||
CompanyHour=Hora empresa (casa madre)
|
||||
CompanyTZ=Zona Horaria empresa (sede central)
|
||||
CompanyHour=Hora empresa (sede central)
|
||||
CurrentSessionTimeOut=Time out sesión actual
|
||||
OSEnv=Entorno SO
|
||||
Box=Panel
|
||||
|
||||
Loading…
Reference in New Issue
Block a user