Moodle

Notice in tag cron indicates some kind of logic bug

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9
  • Component/s: Tags
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

Just noticed this in cron logs on moodle.org (latest 1.9 CVS)

PHP Notice: Undefined index: 712 in /var/www/html/moodle/tag/lib.php on line 855
PHP Notice: Trying to get property of non-object in /var/www/html/moodle/tag/lib.php on line 855

ie this line: $cutoff = $tag_correlations[$tag_id]->nr * $min_correlation;

Which probably affects that whole function

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

Fixing the version information for this bug.

Show
Martin Dougiamas added a comment - Fixing the version information for this bug.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: