Fix minimum fs_id was not returning proper value

This commit is contained in:
nathangray 2017-10-27 17:42:04 +02:00
parent 90ce0cc7b6
commit 0d14155472

View File

@ -1579,7 +1579,7 @@ GROUP BY A.fs_id';
}
$stmt = self::$pdo->prepare($query);
$stmt->execute($fs_id);
$stmt->execute(array($fs_id));
$min = $stmt->fetchColumn();
return $min ? $min : $fs_id;