This commit is contained in:
holan20180123
2021-02-25 11:02:25 +08:00
7 changed files with 68 additions and 14 deletions
+1 -1
View File
@@ -1745,7 +1745,7 @@ class programModel extends model
{
foreach($_POST['products'] as $productID => $product)
{
$this->dao->update(TABLE_PRODUCT)->set('program')->eq($newTopPGM)->where('id')->eq((int)$productID)->exec();
$this->dao->update(TABLE_PRODUCT)->set('program')->eq((int)$newTopPGM)->where('id')->eq((int)$productID)->exec();
}
}