From dbe0daf5bb622dbd6d953d09c3c7a7cc19dbdf99 Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Wed, 19 Oct 2022 08:01:35 -0400 Subject: [PATCH] ISTWCMS-5880: coding standards --- uw_cfg_common.install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/uw_cfg_common.install b/uw_cfg_common.install index f1fc1a35..ebd4db8a 100644 --- a/uw_cfg_common.install +++ b/uw_cfg_common.install @@ -498,9 +498,11 @@ function uw_cfg_common_update_9106(&$sandbox) { // the correct info. if ($id == 'uw_ct_catalog_item') { $content_types['uw_ct_catalog'] = $id; - } else if ($id == 'uw_ct_opportunity') { + } + elseif ($id == 'uw_ct_opportunity') { $content_types['uw_ct_opportunities'] = $id; - } else { + } + else { $content_types[$id] = $id; } } -- GitLab