remove type hinting -- fails when ArrayWrapper gets passed in some profile list pages
This commit is contained in:
parent
0a71622aa7
commit
01ecca5e60
@ -129,9 +129,9 @@ class ModPlusPlugin extends Plugin
|
|||||||
* Currently only adds output for remote profiles, nothing for local users.
|
* Currently only adds output for remote profiles, nothing for local users.
|
||||||
*
|
*
|
||||||
* @param HTMLOutputter $out
|
* @param HTMLOutputter $out
|
||||||
* @param Profile $profile
|
* @param Profile $profile (may also be an ArrayWrapper... sigh)
|
||||||
*/
|
*/
|
||||||
protected function showProfileOptions(HTMLOutputter $out, Profile $profile)
|
protected function showProfileOptions(HTMLOutputter $out, $profile)
|
||||||
{
|
{
|
||||||
$isRemote = !(User::staticGet('id', $profile->id));
|
$isRemote = !(User::staticGet('id', $profile->id));
|
||||||
if ($isRemote) {
|
if ($isRemote) {
|
||||||
|
Loading…
Reference in New Issue
Block a user