Ajout ->duration

This commit is contained in:
Rodolphe Quiedeville 2003-08-04 13:09:55 +00:00
parent ac8e04b922
commit 76e2003b1e

View File

@ -126,7 +126,7 @@ class Product
$this->type = $result["fk_product_type"];
$this->nbvente = $result["nbvente"];
$this->envente = $result["envente"];
$this->duration = $result["duration"];
$this->duration_value = substr($result["duration"],0,strlen($result["duration"])-1);
$this->duration_unit = substr($result["duration"],-1);