Merge branch 'NEW_develop_virtual_product_DragAndDrop' of github.com:atm-adrien/dolibarr into NEW_develop_virtual_product_DragAndDrop
This commit is contained in:
commit
b1ada26f55
@ -4114,7 +4114,7 @@ class Product extends CommonObject
|
|||||||
$resqlrank = $this->db->query($sqlrank);
|
$resqlrank = $this->db->query($sqlrank);
|
||||||
if ($resqlrank) {
|
if ($resqlrank) {
|
||||||
$cpt = 0;
|
$cpt = 0;
|
||||||
while ($objrank = $this->db->fetch_object($resqlrank)){
|
while ($objrank = $this->db->fetch_object($resqlrank)) {
|
||||||
$cpt++;
|
$cpt++;
|
||||||
$sql = 'UPDATE '.MAIN_DB_PREFIX.'product_association';
|
$sql = 'UPDATE '.MAIN_DB_PREFIX.'product_association';
|
||||||
$sql.= ' SET rang ='.$cpt;
|
$sql.= ' SET rang ='.$cpt;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user