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

booking change request html editor error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 3.0.2
    • Block: Mrbs
    • None
    • 2014060902
    • MOODLE_30_STABLE

    Description

      If I want to request a booking change for a booked resource, I get a coding error,
      saying "can_use_html_editor" not longer supported.

      The issue can be resolved by the following patch:

      diff -u request_vacate.php.orig request_vacate.php
      — request_vacate.php.orig 2016-02-21 12:57:41.556804703 +0100
      +++ request_vacate.php 2016-02-21 12:17:28.005831903 +0100
      @@ -43,7 +43,7 @@
      <div id="request_vacate">
      <input type="hidden" name="id" value="'.$booking->userid.'" />
      <input type="hidden" name="sesskey" value="'.sesskey().'" />';

      • $usehtmleditor = (can_use_html_editor());
        + $usehtmleditor = true;
        if ($usehtmleditor) {
        print_textarea($usehtmleditor, 15, 350, 0, 0, 'message', get_string('requestvacatemessage_html','block_mrbs',$messagelang));
        echo '<input type="hidden" name="format" value="'.FORMAT_HTML.'" />';

      Attachments

        Activity

          People

            davosmith Davo Smith
            fschuett Frank Schütte
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Clockify

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