Skip to content

Commit

Permalink
Merge branch 'atm-maxime-develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 20, 2014
2 parents 2dc3e5b + a72c3d4 commit 29545d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/core/class/html.formprojet.class.php
Expand Up @@ -77,6 +77,7 @@ function select_projects($socid=-1, $selected='', $htmlname='projectid', $maxlen
$sql.= " WHERE p.entity = ".$conf->entity;
if ($projectsListId !== false) $sql.= " AND p.rowid IN (".$projectsListId.")";
if ($socid == 0) $sql.= " AND (p.fk_soc=0 OR p.fk_soc IS NULL)";
if ($socid > 0) $sql.= " AND (p.fk_soc=".$socid." OR p.fk_soc IS NULL)";
$sql.= " ORDER BY p.ref ASC";

dol_syslog(get_class($this)."::select_projects sql=".$sql,LOG_DEBUG);
Expand Down

0 comments on commit 29545d8

Please sign in to comment.