Skip to content
Permalink
Browse files

Merge pull request #10677 from frederic34/patch-6

fix #10385
  • Loading branch information...
eldy committed Feb 24, 2019
2 parents f2a73ee + 2ad9121 commit c1fa48889e83c7dbe3a87217dff0fa696844d17e
Showing with 4 additions and 3 deletions.
  1. +4 −3 htdocs/variants/combinations.php
@@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2016 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2019 Frédéric France <frederic.france@netlogic.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -30,9 +31,9 @@
$var = false;
$id = GETPOST('id', 'int');
$valueid = GETPOST('valueid', 'int');
$ref = GETPOST('ref');
$weight_impact = (float) GETPOST('weight_impact');
$price_impact = (float) GETPOST('price_impact');
$ref = GETPOST('ref', 'alpha');
$weight_impact = GETPOST('weight_impact', 'alpha');
$price_impact = GETPOST('price_impact', 'alpha');
$price_impact_percent = (bool) GETPOST('price_impact_percent');
$form = new Form($db);

0 comments on commit c1fa488

Please sign in to comment.
You can’t perform that action at this time.