From 5d4b1d0b884e19c18ec8784602052d6e3c62c6ff Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 7 Jan 2016 12:14:48 +0100 Subject: [PATCH] Appropriate exception message in GroupNoProfileException --- lib/groupnoprofileexception.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/groupnoprofileexception.php b/lib/groupnoprofileexception.php index 6d8b6a4248..29d0f06257 100644 --- a/lib/groupnoprofileexception.php +++ b/lib/groupnoprofileexception.php @@ -55,8 +55,8 @@ class GroupNoProfileException extends NoProfileException // TRANS: Exception text shown when no profile can be found for a group. // TRANS: %1$s is a group nickname, $2$d is a group profile_id (number). - $message = sprintf(_('User %1$s (%2$d) has no profile record.'), - $group->nickname, $group->id); + $message = sprintf(_('Group "%1$s" (%2$d) has no profile record.'), + $group->nickname, $group->getID()); parent::__construct($group->profile_id, $message); } -- 2.39.5