Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.3
-
Fix Version/s: 2.3.1
-
Component/s: Database SQL/XMLDB
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_23_STABLE
-
Fixed Branches:MOODLE_23_STABLE
-
Pull from Repository:
-
Pull Master Branch:w27_
MDL-34125_m24_tablename -
Pull Master Diff URL:
Description
On trying to delete a third-party activity plugin, the following fatal error is displayed:
Fatal error: Cannot access protected property xmldb_table::$name in lib/adminlib.php on line 455
Suggested fix (lib/adminlib.php, line 455):
- OLD: $table_names[] = strtolower($table->name);
- NEW: $table_names[] = strtolower($table->getName());