throw Ex() -> throw new Ex();
This commit is contained in:
parent
316f7ff858
commit
9abcadffb6
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class User {
|
|||
$this->class = $_user_classes[$row["class"]];
|
||||
}
|
||||
else {
|
||||
throw SCoreException("User '{$this->name}' has invalid class '{$row["class"]}'");
|
||||
throw new SCoreException("User '{$this->name}' has invalid class '{$row["class"]}'");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue