Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuletpol committed Dec 6, 2024
1 parent 37bab77 commit b31e0b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion classes/plugininfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public static function save_update_presets($presets) {
if ($id == null) {
// Create a new entry.
$id = self::update_seq($conf);
} else if(property_exists($conf, 'def_' . $id)) {
} else if(isset($conf->{'def_' . $id})) {
// Load the old definition.
$old = json_decode($conf->{'def_' . $id});
if (isset($old)) {
Expand All @@ -378,6 +378,9 @@ public static function save_update_presets($presets) {
$mustupdate = false;
}
}
} else {
var_dump("Error");
var_dump($id, $preset['key'], $widgetindex);
}
if ($mustupdate) {
// Save the definition.
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'tiny_widgethub';
$plugin->release = '1.1.2';
$plugin->release = '1.1.3';
$plugin->requires = 2022112800;
$plugin->maturity = MATURITY_STABLE;
$plugin->version = 2024112502;
$plugin->version = 2024112503;

0 comments on commit b31e0b1

Please sign in to comment.