diff --git a/scripts/testuser.php b/scripts/testuser.php index 221f962842..dc79548bdb 100644 --- a/scripts/testuser.php +++ b/scripts/testuser.php @@ -60,7 +60,7 @@ function testUser($filter, $user) { printfnq("Testing user %s\n", $user->nickname); - $profile = $user->getProfile(); + $profile = Profile::staticGet('id', $user->id); $str = new ProfileNoticeStream($profile, $profile);