diff --git a/README.md b/README.md index 0100c43..d9de2fa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Dailyscripture (1.2.0) +# Dailyscripture (1.2.1) Display the daily scripture from [https://git.vdm.dev/christian/daily-scripture](https://git.vdm.dev/christian/daily-scripture). @@ -11,7 +11,7 @@ Display the daily scripture from [https://git.vdm.dev/christian/daily-scripture] + *Name*: [Dailyscripture](https://getbible.net) + *First Build*: 3rd December, 2015 + *Last Build*: 10th November, 2023 -+ *Version*: 1.2.0 ++ *Version*: 1.2.1 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html diff --git a/helper.php b/helper.php index e6f30c6..01538e6 100644 --- a/helper.php +++ b/helper.php @@ -172,9 +172,9 @@ class ModDailyScriptureHelper */ protected function getLocalLink(): ?string { - if (($link = $this->params->get('local_link')) === null || - empty($this->version) || empty($this->book) || - empty($this->chapter) || empty($this->verse)) + $link = $this->params->get('local_link'); + + if (empty($link)) { return null; } diff --git a/language/en-GB/en-GB.mod_dailyscripture.ini b/language/en-GB/en-GB.mod_dailyscripture.ini index 2e5bc4e..bb6e821 100644 --- a/language/en-GB/en-GB.mod_dailyscripture.ini +++ b/language/en-GB/en-GB.mod_dailyscripture.ini @@ -1,6 +1,6 @@ MOD_DAILYSCRIPTURE="Dailyscripture" MOD_DAILYSCRIPTURE_DESCRIPTION="A Joomla Module to Display the Daily Scripture." -MOD_DAILYSCRIPTURE_XML_DESCRIPTION="
A Joomla Module to Display the Daily Scripture.
Created by Llewellyn van der Merwe
Development started 1st January, 2022
A Joomla Module to Display the Daily Scripture.
Created by Llewellyn van der Merwe
Development started 1st January, 2022
A Joomla Module to Display the Daily Scripture.
Created by Llewellyn van der Merwe
Development started 1st January, 2022
A Joomla Module to Display the Daily Scripture.
Created by Llewellyn van der Merwe
Development started 1st January, 2022