Skip to content

Commit 7e53905

Browse files
committed
null check bug fix
1 parent 6f8de3a commit 7e53905

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ To start working on frontend follow this steps:
3838

3939
1. ☁ Clone this into your `apps` folder of your Nextcloud.
4040
1. 👩‍💻 In a terminal, run the command `make dev-setup` to install the dependencies.
41-
1. 🏗 Then to build the frontend application run `make build-js` (builds Vue application in production mode), or watch changes with: `make watch-js` (in development mode).
41+
1. 🏗 Then to build the frontend application run `make build-js-production` (builds Vue application in production mode), or watch changes with: `make watch-js` (in development mode).
4242
1. ✅ Enable the app through the app management of your Nextcloud.
4343
1. 💻 Fix easily linting issues with `npm run lint:fix`.
4444

4545
## Support us
4646

4747
You can support us with any donate amount.
4848

49-
[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate?hosted_button_id=H5PLJJMWLDNJQ)
49+
[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate?hosted_button_id=H5PLJJMWLDNJQ)

lib/Migration/AppUpdateStep.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ public function run(IOutput $output) {
6666
$installedSetting = $this->settingsService->getSettingByName('installed')['setting'];
6767
$installed = json_decode($installedSetting->getValue(), true);
6868
if (isset($installed['not_installed_list'])) {
69-
if (count($installed['not_installed_list']['boost']) > 0) {
69+
if (isset($installed['not_installed_list']['boost']) && count($installed['not_installed_list']['boost']) > 0) {
7070
$installResult = $this->pythonService->installDependencies();
7171
} else {
7272
$installResult = $this->pythonService->installDependencies('required optional boost');
7373
}
74-
if ($installResult['installed']) {
74+
if (isset($installResult['installed']) && $installResult['installed']) {
7575
$installed['not_installed_list'] = [
7676
'required' => $installResult['required'],
7777
'optional' => $installResult['optional'],

0 commit comments

Comments
 (0)