Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
-Subproject commit 24bb393609c4e87e8578ddaca906c32d99a299bf
+Subproject commit 54d6549cad8056b1f0656b2d8fc83a853631758e
/** Returns the built UFC
* @return The UFC, or PFC_False() if an error happened
*/
- public function &getUFC()
+ public function getUFC()
{
$this->buildUFC();
if ($this->valid) {
{
public $advanced = false;
private $score = null;
- private $conds = null;
private $quick = false;
public function __construct($quick = false, $no_search = false, PlFilterCondition $cond = null)
return;
}
- $this->conds->addChild($ufb->getUFC());
+ $ufc = $ufb->getUFC();
+ $this->conds->addChild($ufc);
$orders = $ufb->getOrders();
$orders[] = new UFO_Promo(UserFilter::DISPLAY, true);