forked from GNUsocial/gnu-social
ID is a string
This commit is contained in:
parent
17b1492690
commit
0eeb175904
@ -539,7 +539,7 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
$sharedNotice = Notice::staticGet('uri', $sharedId);
|
$sharedNotice = Notice::staticGet('uri', $sharedId);
|
||||||
|
|
||||||
if (empty($sharedNotice)) {
|
if (empty($sharedNotice)) {
|
||||||
throw new ClientException(sprintf(_m("Failed to save activity %d"),
|
throw new ClientException(sprintf(_m("Failed to save activity %s"),
|
||||||
$sharedId));
|
$sharedId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user