Skip to content

Commit 38c3259

Browse files
committed
fix adding builtin snippetts again
1 parent 47e9bc2 commit 38c3259

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

classes/snippets.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public static function add_builtin_snippets() {
270270
}, $snippets);
271271

272272
foreach ($paths as $path) {
273-
if (!array_key_exists($path, $presentpaths)) {
273+
if (!in_array($path, $presentpaths)) {
274274
$DB->insert_record(
275275
'theme_boost_union_snippets',
276276
[

version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
defined('MOODLE_INTERNAL') || die();
2626

2727
$plugin->component = 'theme_boost_union';
28-
$plugin->version = 2024060110;
28+
$plugin->version = 2024060111;
2929
$plugin->release = 'v4.4-r1';
3030
$plugin->requires = 2024042200;
3131
$plugin->supported = [404, 404];

0 commit comments

Comments
 (0)