course info lib needs to check for present cpd hours, course organisation values before displaying

Bug #1903616 reported by Lisa Seeto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
20.10
Fix Released
Medium
Unassigned
21.04
Fix Released
Medium
Lisa Seeto

Bug Description

We need to update the code to have a check for whether the 'cpdhours' & 'courseorganisation' have a value before trying to display. If empty, display a '-' instead.

Related to Bug 1863511

Lisa Seeto (lisaseeto)
description: updated
description: updated
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/11425

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11425
Committed: https://git.mahara.org/mahara/mahara/commit/88f3621754c70dc13f2f468762c83711f3e713cd
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 88f3621754c70dc13f2f468762c83711f3e713cd
Author: Lisa Seeto <email address hidden>
Date: Tue Nov 10 14:32:16 2020 +1300

Bug 1903616: course info lib needs to check for
present cpd hours, course organisation values before displaying

- added check for empty values

Change-Id: I9a8bcf2d5e74bdc6657c0efc256dcf2a8a5aba4a
Signed-off-by: Lisa Seeto <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "20.10_STABLE" branch: https://reviews.mahara.org/11435

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11435
Committed: https://git.mahara.org/mahara/mahara/commit/9d03ec7632af87e8e3c3276bcbc3ffeb469299f7
Submitter: Robert Lyon (<email address hidden>)
Branch: 20.10_STABLE

commit 9d03ec7632af87e8e3c3276bcbc3ffeb469299f7
Author: Lisa Seeto <email address hidden>
Date: Tue Nov 10 14:32:16 2020 +1300

Bug 1903616: course info lib needs to check for
present cpd hours, course organisation values before displaying

- added check for empty values

Change-Id: I9a8bcf2d5e74bdc6657c0efc256dcf2a8a5aba4a
Signed-off-by: Lisa Seeto <email address hidden>
(cherry picked from commit 88f3621754c70dc13f2f468762c83711f3e713cd)

no longer affects: mahara
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.