git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 543d968b authored by mmn's avatar mmn

NoAcctUriException->profile not $e directly

parent a361fdbd
......@@ -108,7 +108,7 @@ class ToSelector extends Widget
try {
$choices[$value] = substr($users->getAcctUri(), 5) . " [{$users->getBestName()}]";
} catch (ProfileNoAcctUriException $e) {
$choices[$value] = "[?@?] " . $e->getBestName();
$choices[$value] = "[?@?] " . $e->profile->getBestName();
}
}
......@@ -118,7 +118,7 @@ class ToSelector extends Widget
try {
$choices[$value] = substr($this->to->getAcctUri(), 5) . " [{$this->to->getBestName()}]";
} catch (ProfileNoAcctUriException $e) {
$choices[$value] = "[?@?] " . $e->getBestName();
$choices[$value] = "[?@?] " . $e->profile->getBestName();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment