* [bug#52306,done,0.1h] fix bug.

This commit is contained in:
sunguangming
2024-07-06 16:59:04 +08:00
committed by 王怡栋
parent 1831539304
commit 7225479122
+1 -1
View File
@@ -1419,7 +1419,7 @@ class productZen extends product
$this->view->projectProducts = $projectProducts;
$module = $this->app->tab == 'product' ? $storyType : $this->app->tab;
$this->view->showGrades = isset($this->config->{$module}->showGrades) ? $this->config->{$module}->showGrades : $this->story->getDefaultShowGrades($this->view->gradeMenu);
$this->view->showGrades = !empty($this->config->{$module}->showGrades) ? $this->config->{$module}->showGrades : $this->story->getDefaultShowGrades($this->view->gradeMenu);
$storyType = $isProjectStory ? 'all' : $storyType;
$this->view->summary = $this->product->summary($stories, $storyType);