From edd64950abe01751e00f682e51536d89d22d837f Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 11 Nov 2021 13:44:27 +0800 Subject: [PATCH] * Fix the problem of reporting errors on the batch editing story page. --- module/story/view/batchedit.html.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/story/view/batchedit.html.php b/module/story/view/batchedit.html.php index fee5c7e5bc..bd7684c5c5 100644 --- a/module/story/view/batchedit.html.php +++ b/module/story/view/batchedit.html.php @@ -101,10 +101,11 @@ foreach(explode(',', $showFields) as $field) '> ''); if($story->branch != BRANCH_MAIN) { - $productPlans = zget($plans, $story->branch) + zget($plans, 0); + if(isset($plans[$story->branch])) $productPlans .= $plans[$story->branch]; + if(isset($plans[0])) $productPlans .= $plans[0]; } else {