Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

make sure $hotpot->id is set when adding calendar events for new HotPot

  • Loading branch information...
commit cafaa207ef474800e2ad89985a34e954c665596c 1 parent e594612
gbateson authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  mod/hotpot/lib.php
1  mod/hotpot/lib.php
@@ -197,6 +197,7 @@
197 197 function hotpot_add_instance(&$hotpot) {
198 198 if (hotpot_set_form_values($hotpot)) {
199 199 if ($result = insert_record('hotpot', $hotpot)) {
  200 + $hotpot->id = $result;
200 201 hotpot_update_events($hotpot);
201 202 }
202 203 } else {

0 comments on commit cafaa20

Please sign in to comment.
Something went wrong with that request. Please try again.