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

_lastloaded pref causing notice

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Libraries
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      Sorry Tim

      Notice: Undefined index: _lastloaded in /var/www/moodle/headcvs/lib/moodlelib.php on line 947

      penny@hermia:~/src/moodle/headcvs$ cvs annotate lib/moodlelib.php | grep _lastloaded

      Annotations for lib/moodlelib.php
      ***************
      1.1125 (tjhunt 04-Nov-08): if (!get_cache_flag('userpreferenceschanged', $USER->id, $USER->preference['_lastloaded'])) {
      1.1125 (tjhunt 04-Nov-08): $USER->preference['_lastloaded'] = $timenow;
      1.1125 (tjhunt 04-Nov-08): $USER->preference['_lastloaded'] = time();
      1.1125 (tjhunt 04-Nov-08): $USER->preference['_lastloaded'] = time();
      1.1125 (tjhunt 04-Nov-08): $user->preference['_lastloaded'] = time();

      Attachments

        Activity

          People

            timhunt Tim Hunt
            mjollnir Penny Leach
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10