We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64f0277 + 3ecfc51 commit 89a835eCopy full SHA for 89a835e
db/messages.php
@@ -34,7 +34,7 @@
34
'confirmation' => array(
35
'capability' => 'mod/hvp:emailconfirmsubmission',
36
'defaults' => array(
37
- 'airnotifier' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
+ 'airnotifier' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_ENABLED,
38
),
39
40
);
locallib.php
@@ -109,7 +109,7 @@ function hvp_get_core_assets($context) {
109
// Do not use $PAGE->requires when viewing via mobile (aka a webservice).
110
global $ME;
111
112
- if (strpos($ME, 'webservice') == false) {
+ if (strpos($ME ?? '', 'webservice') == false) {
113
// Add core stylesheets.
114
foreach (\H5PCore::$styles as $style) {
115
$url = generate_css_url('library/' . $style);
0 commit comments