throw Ex() -> throw new Ex();

This commit is contained in:
Shish 2014-12-07 13:20:36 +00:00
parent 316f7ff858
commit 9abcadffb6

View file

@ -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"]}'");
}
}