/[gnuheter]/gnuheter/comments.php
ViewVC logotype

Diff of /gnuheter/comments.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by aron, Sat Nov 30 18:14:08 2002 UTC revision 1.18 by aron, Sat Nov 30 23:24:17 2002 UTC
# Line 296  function reply($pid, $sid, $mode, $order Line 296  function reply($pid, $sid, $mode, $order
296          $reason = ""; $score = 0;          $reason = ""; $score = 0;
297          dbconnect();          dbconnect();
298          if ($pid!=0) {          if ($pid!=0) {
299                  list($date, $name, $email, $url, $subject, $comment, $score, $reason) = mysql_fetch_row(mysql_query("SELECT date, name, email, url, subject, comment, score, reason FROM comments WHERE tid='$pid' typ='$typ'"));                  list($date, $name, $email, $url, $subject, $comment, $score, $reason) = mysql_fetch_row(mysql_query("SELECT date, name, email, url, subject, comment, score, reason FROM comments WHERE tid='$pid' AND typ='$typ'"));
300          } else {          } else {
301                  if ($typ==0)                  if ($typ==0)
302                          $sql="SELECT NOW(), pollTitle, NULL, NULL, NULL, NULL FROM poll_desc WHERE sid='$sid'";                          $sql="SELECT NOW(), pollTitle, NULL, NULL, NULL, NULL FROM poll_desc WHERE sid='$sid'";

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26