Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-42234 - Repositories: Fix undefined variable notice when no repos…

…itories are enabled.
  • Loading branch information...
commit a8d816982a317b12e1e4141f9d605afbe7e88436 1 parent 945aa97
@abgreeve abgreeve authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/repository.php
View
4 admin/repository.php
@@ -288,9 +288,9 @@ function repository_action_url($repository) {
// Get list of used plug-ins
$instances = repository::get_types();
+ // Array to store plugins being used
+ $alreadyplugins = array();
if (!empty($instances)) {
- // Array to store plugins being used
- $alreadyplugins = array();
$totalinstances = count($instances);
$updowncount = 1;
foreach ($instances as $i) {
Please sign in to comment.
Something went wrong with that request. Please try again.