Skip to content

Commit a310002

Browse files
Cameron Hallxyzulu
Cameron Hall
andauthored
v2.1.6 (#19)
* Updated Makefile to add versions to the asset imports in the header * Update hooks.php Fixed up the missing " that causes all public facing pages to break. * Update synergywholesaledomains.php Co-authored-by: Brad Baker <xyzulu@users.noreply.github.com>
1 parent ed4dc0b commit a310002

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ Synergy Wholesale WHMCS Domains Module
1515
### Removed
1616
-
1717

18+
## 2.1.6 [Updated 14/05/2020]
19+
20+
### Fixed
21+
- Fixed an unclosed quote in the header when importing a JS asset. Fixes [#16](https://github.com/SynergyWholesale/WHMCS-Domains-Module/issues/16)
22+
1823
## 2.1.5 [Updated 13/05/2020]
1924

2025
### Fixed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ replace:
3333
revert:
3434
sed -i${SED_PARAM} "s/${VERSION}/{{VERSION}}/g" "README.txt"
3535
sed -i${SED_PARAM} "s/${RELEASE_DATE}/{{RELEASE_DATE}}/g" "README.txt"
36-
sed -i${SED_PARAM} "s/{{VERSION}}/${VERSION:v%=%}/g" "modules/registrars/synergywholesaledomains/hooks.php"
36+
sed -i${SED_PARAM} "s/${VERSION:v%=%}/{{VERSION}}/g" "modules/registrars/synergywholesaledomains/hooks.php"
3737
sed -i${SED_PARAM} "s/${VERSION:v%=%}/{{VERSION}}/g" "modules/registrars/synergywholesaledomains/synergywholesaledomains.php"
3838
sed -i${SED_PARAM} "s/${SW_API_HOSTNAME}/{{API}}/g" "modules/registrars/synergywholesaledomains/synergywholesaledomains.php"
3939
sed -i${SED_PARAM} "s/${SW_FRONTEND_HOSTNAME}/{{FRONTEND}}/g" "modules/registrars/synergywholesaledomains/synergywholesaledomains.php"
4040

4141
package:
42+
make replace
4243
zip -r "synergy-wholesale-domains-$(VERSION).zip" . -x \
4344
'.DS_Store' '**/.DS_Store' '*.cache' '.git*' '*.md' 'Makefile' 'package.json' 'package-lock.json' \
4445
'composer.json' 'composer.lock' '*.xml' '**/synergywholesaledomains.css' '**/functions.js' \
4546
'vendor/*' 'node_modules/*' '.git/*' 'tests/*'
47+
make revert
4648

4749
build:
4850
make test

modules/registrars/synergywholesaledomains/hooks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
return str_replace('{WEB_ROOT}', $vars['WEB_ROOT'], '
8585
<script data-cfasync="false" src="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
8686
<link href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet" />
87-
<script data-cfasync="false" src="{WEB_ROOT}/modules/registrars/synergywholesaledomains/js/functions.min.js?v={{VERSION}}></script>
87+
<script data-cfasync="false" src="{WEB_ROOT}/modules/registrars/synergywholesaledomains/js/functions.min.js?v={{VERSION}}"></script>
8888
<link rel="stylesheet" type="text/css" href="{WEB_ROOT}/modules/registrars/synergywholesaledomains/css/synergywholesaledomains.min.css?v={{VERSION}}" />
8989
');
9090
});

modules/registrars/synergywholesaledomains/synergywholesaledomains.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function synergywholesaledomains_helper_getDomain(array $params)
4545

4646
function synergywholesaledomains_helper_getNameservers(array $params)
4747
{
48-
$namesevers = [];
48+
$nameservers = [];
4949
for ($i = 1; $i < 6; $i++) {
5050
if (empty($params["ns$i"])) {
5151
continue;

0 commit comments

Comments
 (0)