Fix: Stats must be on user of card not creator

This commit is contained in:
Laurent Destailleur 2012-02-12 11:51:35 +01:00
parent 3463add304
commit ee18956408

View File

@ -68,7 +68,7 @@ class DeplacementStats extends Stats
{
$this->where.=" AND fk_soc = ".$this->socid;
}
if ($this->userid > 0) $this->where.=' AND fk_user_author = '.$this->userid;
if ($this->userid > 0) $this->where.=' AND fk_user = '.$this->userid;
}