mdl-27120 Fixed incorrect variable in parameter when adding form dependencies.
authorJason Ilicic <jason.ilicic@netspot.com.au>
Tue, 22 Nov 2011 00:04:56 +0000 (10:34 +1030)
committerRajesh Taneja <rajesh@moodle.com>
Tue, 29 May 2012 06:44:07 +0000 (14:44 +0800)
backup/util/ui/backup_ui_stage.class.php

index ca53c23..9b8f3f5 100644 (file)
@@ -151,7 +151,7 @@ class backup_ui_stage_initial extends backup_ui_stage {
             $form->add_settings($add_settings);
             // Add dependencies
             foreach ($dependencies as $depsetting) {
-                $form->add_dependencies($setting);
+                $form->add_dependencies($depsetting);
             }
             $this->stageform = $form;
         }