Permalink
Browse files

MDL-39249 Fix typo in available_update_deployer class

I have accidentally spotted this typo while working on this branch. It
has never caused any harm as both parameters callerurl and returnurl are
always passed. Blame copy/pasting of code blocks.
  • Loading branch information...
1 parent 5d7a4ba commit 7b1e0645c17a320971e8fc5eeeec87715ed3deba @mudrd8mz mudrd8mz committed Apr 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pluginlib.php
View
@@ -2211,7 +2211,7 @@ protected function data_to_params($data) {
if (!empty($this->callerurl)) {
$data['callerurl'] = $this->callerurl->out(false);
}
- if (!empty($this->callerurl)) {
+ if (!empty($this->returnurl)) {
$data['returnurl'] = $this->returnurl->out(false);
}

0 comments on commit 7b1e064

Please sign in to comment.