From 2088c5e471fce34bb81d3d1bd54832badd1f656c Mon Sep 17 00:00:00 2001 From: daitingting Date: Mon, 19 Feb 2024 01:35:43 +0000 Subject: [PATCH] * Format codes. --- module/story/ui/view.html.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/story/ui/view.html.php b/module/story/ui/view.html.php index c4eee2b9a3..6092dcf637 100644 --- a/module/story/ui/view.html.php +++ b/module/story/ui/view.html.php @@ -433,9 +433,9 @@ detailBody ( array_values(array_map(function($relation) use($story) { - $relationType = $story->type == 'story' ? 'requirement' : 'story'; - $canViewStory = common::hasPriv($relationType, 'view', null, "storyType=$relationType"); - $canLinkStory = common::hasPriv($story->type, 'linkStory'); + $relationType = $story->type == 'story' ? 'requirement' : 'story'; + $canViewStory = common::hasPriv($relationType, 'view', null, "storyType=$relationType"); + $canLinkStory = common::hasPriv($story->type, 'linkStory'); return h::li (