ToyVoyagers has exited with an error


Undefined variable: votw_id

Notice [8]:
The error was reported on line 159 of /var/www/vip6/sites/vip0927926/httpd/htdocs/func/votw.php

Code:
157         $all_comments = '';
158
159         $comments_qry = $this->db->query("SELECT u.*, vc.votw_comment_id, vc.votw_id, vc.comments, vc.creation_date FROM {$this->pre}votw_comments vc, {$this->pre}users u WHERE vc.user_id = u.user_id AND votw_id = {$votw_id} ORDER BY creation_date DESC");
160
161         while ($row = $this->db->nqfetch($comments_qry))