throw Ex() -> throw new Ex();
This commit is contained in:
parent
316f7ff858
commit
9abcadffb6
@ -60,7 +60,7 @@ class User {
|
|||||||
$this->class = $_user_classes[$row["class"]];
|
$this->class = $_user_classes[$row["class"]];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw SCoreException("User '{$this->name}' has invalid class '{$row["class"]}'");
|
throw new SCoreException("User '{$this->name}' has invalid class '{$row["class"]}'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user