From 7b1e0645c17a320971e8fc5eeeec87715ed3deba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Sat, 20 Apr 2013 01:54:01 +0200 Subject: [PATCH] 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. --- lib/pluginlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }