31,014
edits
| Line 139: | Line 139: | ||
$id=GETPOST('id','int'); | $id=GETPOST('id','int'); | ||
$ref=GETPOST('ref','alpha'); | $ref=GETPOST('ref','alpha'); | ||
$product = new Product($db) ; | $product = new Product($db) ; | ||
$result = $product->fetch($id,$ref) ; // Test $result to check the database read is ok | $result = $product->fetch($id,$ref) ; // Test $result to check the database read is ok | ||