Moodle

Notices about category on course/index.php?categoryedit=on

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.2
  • Fix Version/s: 1.9.4
  • Component/s: Course
  • Labels:
    None
  • Environment:
    Apache/1.3.33 (Darwin) PHP/5.2.2 mod_ssl/2.8.24 OpenSSL/0.9.7l Mysql 5.0.24a
    and
    Apache 2.0.52 PHP 4.3.9 Mysql 4.1.20 Red Hat Enterprise 4
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

Updated form the cvs today and the course/index.php?categoryedit=on url that you get when going to courses > add edit courses generates the following notices in PHP4:

Notice: Undefined variable: category in /home/lms2/public_html/course/index.php on line 304

PHP5 generates the following notices:
Notice: Undefined variable: category in /Users/jrh18/Sites/cvsmoodle/course/index.php on line 304

Notice: Trying to get property of non-object in /Users/jrh18/Sites/cvsmoodle/course/index.php on line 304

Further more the add a new course button generates the following error:
Either course id or category must be specified and the url is course/edit.php?category=

Issue Links

Activity

Hide
Tim Hunt added a comment -

Grabbing a bunch of related course category editing bugs that I plan to work on. Sorry for all the emails.

Show
Tim Hunt added a comment - Grabbing a bunch of related course category editing bugs that I plan to work on. Sorry for all the emails.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: