Jaxel
Well-known member
I am doing a comment system... and I want to be able to check if a commenter's account exists...
This code does not work because getHelper is not valid in models. Is there an alternative?
Code:
$comment['userValid'] = $this->getHelper('UserProfile')->assertUserProfileValidAndViewable($comment['user_id']);
This code does not work because getHelper is not valid in models. Is there an alternative?