Skip to content
Snippets Groups Projects
Commit 55ca4d58 authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Fix syntax error.

parent 75082b12
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ class stack_cas_keyval {
$str = str_replace('?', 'QMCHAR', $str);
// CAS keyval may not contain @ outside strings.
if (strpos($str, '@') !== false {
if (strpos($str, '@') !== false) {
$this->errors[] = new $this->errclass(stack_string('illegalcaschars'), $this->context);
$this->valid = false;
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment