Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-2320

Owner of booking cannot change series

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.8, 2.1.5, 2.2.1
    • 1.9.9
    • Block: Mrbs
    • None
    • Ubuntu Linux
    • MySQL
    • MOODLE_19_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE

      When the owner of a repeated booking clicks on a booking, only one instance of the booking series can be edited.

      The error occurs because of this code in view_entry.php:

      if($record=get_record('mrbs_entry','id',$id)) {
      if(strtolower($record->create_by)==strtolower($USER->username))

      { Header("Location: edit_entry.php?id=$id"); }

      }

      This redirection does not include the "edit_type" parameter, and the editing therefore defaults to a single occurrence of the booking.

      Proposed solution: Remove the five lines mentioned above.

            davosmith Davo Smith
            oz1cz Claus Tondering
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.