* Fix bug#20930.

This commit is contained in:
xieqiyu
2022-03-23 09:03:41 +08:00
parent 0c79df3fb6
commit c614eb44e4
-2
View File
@@ -2549,8 +2549,6 @@ class execution extends control
if($executionType == 'stage')
{
if(!isset($_POST['products'])) return print(js::alert($this->lang->execution->noLinkProduct) . js::locate($this->createLink('execution', 'manageProducts', "executionID=$executionID&from=$from")));
if(count($_POST['products']) > 1) return print(js::alert($this->lang->execution->oneProduct) . js::locate($this->createLink('execution', 'manageProducts', "executionID=$executionID&from=$from")));
}
$oldProducts = $this->product->getProducts($executionID);