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

Error in the dialogue module under moodle 1.8.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: Module: Dialogue
    • Labels:
      None
    • Environment:
      Linux Gentoo
      PHP 5.2.4
      MySQL 5.0.40
      Moodle 1.8.2+
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE

      Description

      When a student want open a dialogue, he became the following error message:
      Error: There is no one available to have a dialogue with

      This error comes if a teacher exist in a course, the settings are correct. Please see this topic in the forum:
      http://moodle.org/mod/forum/discuss.php?d=78228

      I mean i found something, please can you confirm:
      In the file /moodle/mod/dialogue/loacallib.php in line 219, here is what the line is showing at the moment:

      if ($otheruser->authority == 0) {

      I mean it must be looks:
      if ($otheruser->id == 0) {

      This works for me!
      Andy

        Attachments

          Activity

            People

            Assignee:
            howardsmiller Howard Miller
            Reporter:
            exp Andy Tagliani
            Participants:
            Component watchers:
            Troy Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: