Hi,
Can anyone help me? I'm getting the above error (Parse error: syntax error, unexpected ';')
function saveRemote()
{
global $vparams;
$fbuser = JRequest::getVar('fbuser');
$perms = JRequest::getVar('perms');
$model = $this->getModel('videoflow');
$status = $model->saveRemote();
if (!empty($status->id) && !empty($fbuser) && !empty($perms[0]['publish_stream'])) {
$model->createNews(null, array('action'=>'upload', 'id'=>$status->id));
}
if (!empty($vparams->appid) && !empty($status->id) && !empty($vparams->wallposts)) $model->createPost ($status->id);
$link = JRoute::_('index.php?option=com_users&view=login';
$this->setRedirect($link, $status->message, $status->type);
}