comment.php
Variable $sql
is undeclared Open
Open
$row = $sql->fetch();
- Exclude checks
Variable $sql
is undeclared Open
Open
if (!$sql->select("news", "news_allow_comments", "`news_id` = '{$id}' AND `news_allow_comments` = 0"))
- Exclude checks
Variable $sql
is undeclared Open
Open
$row = $sql->fetch();
- Exclude checks
Argument 5 (pid)
is int
but \comment::enter_comment()
takes \unknown_type|string
defined at /code/e107_handlers/comment_class.php:675
Open
Open
$cobj->enter_comment($clean_authorname, $clean_comment, $table, $nid, $pid, $clean_subject);
- Exclude checks
Variable $sql
is undeclared Open
Open
$news = $sql->fetch();
- Exclude checks
Variable $sql
is undeclared Open
Open
if ($table == "news" && !$sql->select("news", "news_allow_comments", "news_id='{$nid}' "))
- Exclude checks
Variable $tp
is undeclared Open
Open
$subject = $tp->toForm($news['news_title']);
- Exclude checks
Variable $tp
is undeclared Open
Open
$row['comment_comment'] = $tp->toDB($clean_comment);
- Exclude checks
Variable $sql
is undeclared Open
Open
if (!$sql->select("polls", "poll_title", "`poll_id` = '{$id}' AND `poll_comment` = 1"))
- Exclude checks
Argument 5 (pid)
is int
but \comment::enter_comment()
takes \unknown_type|string
defined at /code/e107_handlers/comment_class.php:675
Open
Open
$cobj->enter_comment($clean_authorname, $clean_comment, $table, $id, $pid, $clean_subject);
- Exclude checks
Variable $tp
is undeclared Open
Open
$subject_header = $tp->toHTML($comments['comment_subject']);
- Exclude checks
Variable $sql
is undeclared Open
Open
$poll = $sql->fetch();
- Exclude checks
Variable $sql
is undeclared Open
Open
$row = $sql->fetch();
- Exclude checks
Variable $tp
is undeclared Open
Open
$row['comment_type'] = e107::getComment()->getCommentType($tp->toDB($clean_table,true));
- Exclude checks
Variable $sql
is undeclared Open
Open
if (!$sql->select("news", "news_title", "news_id='{$nid}' "))
- Exclude checks
Variable $sql
is undeclared Open
Open
if ($sql->select('download','download_name',"download_id={$nid} "))
- Exclude checks
Variable $sql
is undeclared Open
Open
$news = $sql->fetch();
- Exclude checks
Variable $sql
is undeclared Open
Open
if ($sql->select("comments", "comment_subject", "`comment_id` = '{$id}'"))
- Exclude checks
Variable $sql
is undeclared Open
Open
if (!$sql->select("polls", "poll_title", "poll_id='{$nid}' "))
- Exclude checks
Variable $sql
is undeclared Open
Open
if ($sql->select('download','download_name',"download_id={$id} "))
- Exclude checks
Variable $tp
is undeclared Open
Open
$row['comment_subject'] = $tp->toDB($clean_subject);
- Exclude checks
Variable $sql
is undeclared Open
Open
if (!$sql->gen($query))
- Exclude checks
Variable $sql
is undeclared Open
Open
if ($sql->select('user','user_name',"user_id={$id} "))
- Exclude checks
Variable $sql
is undeclared Open
Open
$row = $sql->fetch();
- Exclude checks
Variable $tp
is undeclared Open
Open
$ret['html'] .= e107::getComment()->render_comment($row,'comments','comment', (int) $_POST['itemid'], $width, $tp->toDB($clean_subject));
- Exclude checks
Variable $sql
is undeclared Open
Open
$row = $sql->fetch();
- Exclude checks
Variable $sql
is undeclared Open
Open
if (!$sql->select("polls", "*", "poll_id='{$id}'"))
- Exclude checks
Variable $sql
is undeclared Open
Open
if ($sql->select($e_comment[$table]['db_table'],$e_comment[$table]['db_title'],$e_comment[$table]['db_id']."={$id} "))
- Exclude checks
Variable $sql
is undeclared Open
Open
$row = $sql->fetch();
- Exclude checks
Argument 2 (replace)
is int
but \str_replace()
takes array|string
Open
Open
$reply_location = str_replace('{NID}', $redirectFlag, $e_comment[$table]['reply_location']);
- Exclude checks
Variable $sql
is undeclared Open
Open
$row = $sql->fetch();
- Exclude checks
Argument 5 (subject)
is ?''
but \comment::compose_comment()
takes string
defined at /code/e107_handlers/comment_class.php:1056
Open
Open
$cobj->compose_comment($table, $action, $field, $width, $subject, $rate=FALSE);
- Exclude checks
Variable $tp
is undeclared Open
Open
$row['comment_author_name'] = $tp->toDB($clean_authorname);
- Exclude checks
Variable $sql
is undeclared Open
Open
if (!$sql->select('user', 'user_name', '`user_id` ='.$id))
- Exclude checks
Variable $sql
is undeclared Open
Open
$comments = $sql->fetch();
- Exclude checks
Variable $sql
is undeclared Open
Open
if ($sql->select('user','user_name',"user_id={$nid} "))
- Exclude checks