$DB_site->query("UPDATE $WT_DB_TemplateTable SET lastvisitorid='$bbuserinfo[userid]', lastvisittime='".time()."' WHERE wtid='$WT[wtid]'");
in the above line that you were to replace you made a little typo you made a mistake and put this instead
$$DB_site->query("UPDATE $WT_DB_TemplateTable SET lastvisitorid='$bbuserinfo[userid]', lastvisittime='".time()."' WHERE wtid='$WT[wtid]'");
Thanks for the bug fix hope you update the view.php file before someone else downloads
|