Commit 4d8e453a authored by mattwire's avatar mattwire
Browse files

Release 1.1

parent 9d7f27ed
......@@ -6,8 +6,7 @@ The extension is licensed under [AGPL-3.0](LICENSE.txt).
## Requirements
* PHP v7.1+
* CiviCRM 5.19+
* CiviCRM 5.24+
## Installation
......@@ -31,3 +30,13 @@ to the optiongroup.
## Future enhancements
Use https://lab.civicrm.org/extensions/optionsimporter to allow for import of option values?
## Release Notes
#### 1.1
Fix crash when deleting activities.
#### 1.0
Initial Release.
......@@ -129,6 +129,11 @@ function activitylocationselect_civicrm_buildForm($formName, &$form) {
return;
}
// If the location element doesn't exist don't try to replace it!
if (!$form->elementExists('location')) {
return;
}
// Replace the activity location text field with a select field
$form->removeElement('location');
$locations = civicrm_api3('OptionValue', 'get', [
......
......@@ -10,14 +10,14 @@
</maintainer>
<urls>
<url desc="Main Extension Page">https://lab.civicrm.org/extensions/activitylocationselect</url>
<url desc="Support">https://www.mjwconsult.co.uk</url>
<url desc="Support">https://mjw.pt/support/activitylocationselect</url>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-02-04</releaseDate>
<version>1.0</version>
<releaseDate>2020-05-22</releaseDate>
<version>1.1</version>
<develStage>stable</develStage>
<compatibility>
<ver>5.19</ver>
<ver>5.24</ver>
</compatibility>
<classloader>
<psr4 prefix="Civi\" path="Civi"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment