diff options
Diffstat (limited to 'src/application/actions/viewuser')
-rw-r--r-- | src/application/actions/viewuser/_common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application/actions/viewuser/_common.php b/src/application/actions/viewuser/_common.php index 3f8236c..52d0d05 100644 --- a/src/application/actions/viewuser/_common.php +++ b/src/application/actions/viewuser/_common.php @@ -2,7 +2,7 @@ use mystic\forum\orm\User; -$userId = $_GET["user"] ?? throw new Exception("Missing user id"); +$userId = $_GET["user"] ?? throw new Exception(__("Missing user id")); $user = new User(); $user->id = $userId; if (!$db->fetch($user)) { |