From 9abcadffb623bc9f315ae2d2f7d1741828a8be8e Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 7 Dec 2014 13:20:36 +0000 Subject: [PATCH] throw Ex() -> throw new Ex(); --- core/user.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/user.class.php b/core/user.class.php index 65bb9c83..40f8b07b 100644 --- a/core/user.class.php +++ b/core/user.class.php @@ -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"]}'"); } }