Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
admin: make sure remotebuzzer port is not empty
Browse files Browse the repository at this point in the history
Change-Id: Icd09c7eb52554c250dee227e4dab0752a94d66d2
  • Loading branch information
andi34 committed Apr 3, 2021
1 parent 7e6d2e1 commit 3017d15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@
$newConfig['synctodrive']['enabled'] = false;
}

if (isset($newConfig['remotebuzzer']['port']) && empty($newConfig['remotebuzzer']['port'])) {
$newConfig['remotebuzzer']['port'] = 14711;
}

if ($newConfig['collage']['layout'] === '1+2') {
$newConfig['collage']['limit'] = 3;
} else {
Expand Down

0 comments on commit 3017d15

Please sign in to comment.