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="

Dailyscripture (v.1.2.0)

A Joomla Module to Display the Daily Scripture.

Created by Llewellyn van der Merwe
Development started 1st January, 2022

" +MOD_DAILYSCRIPTURE_XML_DESCRIPTION="

Dailyscripture (v.1.2.1)

A Joomla Module to Display the Daily Scripture.

Created by Llewellyn van der Merwe
Development started 1st January, 2022

" MOD_DAILYSCRIPTURE_THERE_WAS_AN_ERROR_LOADING_THE_DAILY_SCRIPTURE_PLEASE_TRY_AGAIN_LATTER="There was an error loading the Daily Scripture, please try again latter." MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE="Daily Scripture" MOD_DAILYSCRIPTURE_TYPE_LABEL="Implementation Type" diff --git a/language/en-GB/en-GB.mod_dailyscripture.sys.ini b/language/en-GB/en-GB.mod_dailyscripture.sys.ini index 2e5bc4e..bb6e821 100644 --- a/language/en-GB/en-GB.mod_dailyscripture.sys.ini +++ b/language/en-GB/en-GB.mod_dailyscripture.sys.ini @@ -1,6 +1,6 @@ MOD_DAILYSCRIPTURE="Dailyscripture" MOD_DAILYSCRIPTURE_DESCRIPTION="A Joomla Module to Display the Daily Scripture." -MOD_DAILYSCRIPTURE_XML_DESCRIPTION="

Dailyscripture (v.1.2.0)

A Joomla Module to Display the Daily Scripture.

Created by Llewellyn van der Merwe
Development started 1st January, 2022

" +MOD_DAILYSCRIPTURE_XML_DESCRIPTION="

Dailyscripture (v.1.2.1)

A Joomla Module to Display the Daily Scripture.

Created by Llewellyn van der Merwe
Development started 1st January, 2022

" MOD_DAILYSCRIPTURE_THERE_WAS_AN_ERROR_LOADING_THE_DAILY_SCRIPTURE_PLEASE_TRY_AGAIN_LATTER="There was an error loading the Daily Scripture, please try again latter." MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE="Daily Scripture" MOD_DAILYSCRIPTURE_TYPE_LABEL="Implementation Type" diff --git a/mod_dailyscripture.xml b/mod_dailyscripture.xml index 4dca4dd..a4916fd 100644 --- a/mod_dailyscripture.xml +++ b/mod_dailyscripture.xml @@ -7,7 +7,7 @@ https://getbible.net Copyright (C) 2015. All Rights Reserved GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - 1.2.0 + 1.2.1 MOD_DAILYSCRIPTURE_XML_DESCRIPTION