From 21bbc38b4fce0fb5074592f697372dad19431195 Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Wed, 8 Mar 2017 20:37:31 +0100 Subject: Backend: Fixed a bug where inside an if there was only one = instead of 2. (Forgot to add file in the previous commit) --- .../locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/locationinfo/inc/coursebackend') diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php index 60a5d163..2c5a276b 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php @@ -14,7 +14,7 @@ class CourseBackend_HisInOne extends CourseBackend $this->password = $data['password']; $this->username = $data['username'] . "\t" . $data['role']; $this->open = $data['open']; - if ($location = "") { + if ($location == "") { $this->error = true; $this->errormsg = "No url is given"; return !$this->error; -- cgit v1.2.3-55-g7522