From 1bf211689eab43b472a045b6cdf1975869ccbd49 Mon Sep 17 00:00:00 2001
From: Thomas Marstrander <marstranderthomas@gmail.com>
Date: Wed, 20 Feb 2019 15:21:58 +0100
Subject: [PATCH] Update submodules and fix linting error

---
 editor       | 2 +-
 library      | 2 +-
 mod_form.php | 4 +---
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/editor b/editor
index 6364550..b87c9b8 160000
--- a/editor
+++ b/editor
@@ -1 +1 @@
-Subproject commit 6364550f23f73584140e591bd2cfcf47d18b527a
+Subproject commit b87c9b8083f85b97adf2cb2d9cb83e1a959dc273
diff --git a/library b/library
index 415e101..7ee0c33 160000
--- a/library
+++ b/library
@@ -1 +1 @@
-Subproject commit 415e1010646df7a99a9ed1cddcf009e8beb48a29
+Subproject commit 7ee0c3372b939ecabb23c40fd99f81c46f971333
diff --git a/mod_form.php b/mod_form.php
index 87ec4e2..d39fdae 100644
--- a/mod_form.php
+++ b/mod_form.php
@@ -370,9 +370,7 @@ class mod_hvp_mod_form extends moodleform_mod {
                 // Fix for legacy content upload to work.
                 // Fetch title from h5p.json or use a default string if not available.
                 $h5pvalidator = \mod_hvp\framework::instance('validator');
-                $data->metadata->title = empty($h5pvalidator->h5pC->mainJsonData['title'])
-                  ? 'Uploaded Content'
-                  : $h5pvalidator->h5pC->mainJsonData['title'];
+                $data->metadata->title = empty($h5pvalidator->h5pC->mainJsonData['title']) ? 'Uploaded Content' : $h5pvalidator->h5pC->mainJsonData['title'];
             }
             $data->name = $data->metadata->title; // Sort of a hack,
             // but there is no JavaScript that sets the value when there is no editor...
-- 
GitLab