summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-05-01 10:42:19 +0200
committerJulius Härtl <jus@bitgrid.net>2017-05-08 10:16:30 +0200
commit510f7cf1b6b94be7ee640b9e139e536cbc7d23fb (patch)
tree7df7dddcf7bfc61f7021dcbd83108bdf0e2effd0 /apps/theming/lib
parent4199a569127699cc893416bf47ece5a8d28a18a3 (diff)
downloadnextcloud-server-510f7cf1b6b94be7ee640b9e139e536cbc7d23fb.tar.gz
nextcloud-server-510f7cf1b6b94be7ee640b9e139e536cbc7d23fb.zip
Fix tests for theming backgroundColor
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/Controller/ThemingController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php
index 1b3420f3cb7..225673079a3 100644
--- a/apps/theming/lib/Controller/ThemingController.php
+++ b/apps/theming/lib/Controller/ThemingController.php
@@ -185,7 +185,7 @@ class ThemingController extends Controller {
* @return DataResponse
*/
public function updateLogo() {
- $backgroundColor = $this->request->getParam('backgroundColor');
+ $backgroundColor = $this->request->getParam('backgroundColor', false);
if($backgroundColor) {
$this->themingDefaults->set('backgroundMime', 'backgroundColor');
return new DataResponse(