Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-18689

Typos in auth/cas/auth.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.13, 1.9.9, 2.0
    • 1.7, 1.8, 1.9
    • Authentication
    • None
    • Any system using CAS authentication and syncing.
    • MySQL
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      In reviewing the log output generated from the cas_ldap_sync_users.php I noticed that the revive section had nothing but bracketed text. Looking at auth.php I discovered the following lines of code had a typo in them

      if (update_record('user', $updateuser))

      { echo "\t"; print_string('auth_dbreviveser', 'auth', array($user->username, $user->id)); echo "\n"; }

      else

      { echo "\t"; print_string('auth_dbreviveusererror', 'auth', $user->username); echo "\n"; }

      The auth_dbreviveser and auth_dbreviveusererror should actually be auth_dbreviveduser and auth_dbrevivedusererror

            iarenaza Iñaki Arenaza
            jskarren Scott Karren
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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