Skip to content

Commit

Permalink
Merge branch '3.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoyigi committed May 7, 2024
2 parents 75e1a16 + b801e67 commit 7dfd6de
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 28 deletions.
12 changes: 6 additions & 6 deletions app/admin/assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions app/admin/classes/PermissionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public function listGroupedPermissions()
$grouped[$group] = [];
}

if (isset($permission->group)) {
$permission->group = $group;
}

$grouped[$group][] = $permission;
}

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion app/admin/widgets/form/assets/js/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ $(function () {
$('[data-form-save-action]').attr('name', $selectedAction).attr('value', '1')
Cookies.set('ti_activeFormSaveAction', JSON.stringify($selectedAction))
})
})
});
13 changes: 7 additions & 6 deletions app/system/classes/UpdateManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,7 @@ public function requestUpdateList($force = false)
$update['installedVer'] = params('ti_version');
if ($this->disableCoreUpdates)
continue;
}
else {
} else {
if ($this->isMarkedAsIgnored($update['code'])) {
$ignoredItems[] = $update;
continue;
Expand Down Expand Up @@ -516,10 +515,12 @@ public function extractCore($fileCode)
$configBackup = base_path('/config-backup');
File::moveDirectory($configDir, $configBackup);

$result = $this->extractFile($fileCode);

File::copyDirectory($configBackup, $configDir);
File::deleteDirectory($configBackup);
try {
$result = $this->extractFile($fileCode);
} finally {
File::copyDirectory($configBackup, $configDir);
File::deleteDirectory($configBackup);
}

return $result;
}
Expand Down
2 changes: 1 addition & 1 deletion app/system/libraries/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Country
const ISO_CODE_3 = 3;

protected $defaultFormat = [
"{address_1}\n{address_2}\n{city} {postcode}\n{state}\n{country}",
"{address_1} \n{address_2} \n{city} {postcode}\n{state}\n{country}",
];

protected $requiredAddressKeys = [
Expand Down
4 changes: 2 additions & 2 deletions themes/demo/_pages/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<p class="mb-4">Learn more on themes and extension, see the <a href="https://tastyigniter.com/docs/master/customize/themes">Themes documentation</a>.</p>

<p class="mb-4 img-holder">
<img class="img-fluid rounded" src="https://tastyigniter.com/assets/ui/images/mockups/Menus-v2.png" alt="TastyIgniter Frontend">
<img class="img-fluid rounded" src="https://tastyigniter.com/images/mockups/Menus-v2.png" alt="TastyIgniter Frontend" />
</p>
</div>
</div>
</div>
</div>

0 comments on commit 7dfd6de

Please sign in to comment.