* Finish task #69600.

This commit is contained in:
liuruogu
2022-09-20 09:02:23 +00:00
parent fb03c6c839
commit dfb413dbb8
3 changed files with 57 additions and 11 deletions
+2 -1
View File
@@ -102,7 +102,8 @@ class tree extends control
if($viewType == 'story')
{
/* Set menu.*/
$products = $this->product->getPairs($mode = '', $programID = 0, $append = '', $shadow = 0);
$lib = $this->product->getById($rootID);
$products = $this->product->getPairs($mode = '', $programID = 0, $append = '', !empty($lib->shadow));
$this->product->saveState($rootID, $products);
unset($products[$rootID]);