PDA

View Full Version : Getting a syntax error


SirTalksalot
02-03-2015, 03:05 AM
Hi all,

I'm getting an odd syntax error, can someone tell me what's happened and why this would suddenly spring up after all these years?

Parse error: syntax error, unexpected '"' in /home/talkukco/public_html/warksonline/forum/showthread.php on line 1345 - being displayed

Greatly appreciated if anyone can help

nerbert
02-03-2015, 03:50 AM
this is what I have there


unset($userarray, $userid, $username);

$parent_postids = fetch_post_parentlist($curpostid);
if (!$parent_postids)
{
$currentdepth = 0;
}
else
{
$currentdepth = sizeof(explode(',', $parent_postids));
}

sort_threaded_posts();


version 4.2.2 PL 1