diff --git a/lib/pluginlib.php b/lib/pluginlib.php index fe3aa73eb5e..a9ad0358f4a 100644 --- a/lib/pluginlib.php +++ b/lib/pluginlib.php @@ -2211,7 +2211,7 @@ class available_update_deployer { if (!empty($this->callerurl)) { $data['callerurl'] = $this->callerurl->out(false); } - if (!empty($this->callerurl)) { + if (!empty($this->returnurl)) { $data['returnurl'] = $this->returnurl->out(false); }