Thanks!
toddherrold wrote:
hey there,
i have this problem also, but when i look into the comment_new file, all I see is this:
include '../../mainfile.php';
include XOOPS_ROOT_PATH.'/include/comment_new.php';
can you or someone using weblog 1.3 please post the entire contents of the comment_new.php file?
Thanks.
$com_itemid = isset($HTTP_GET_VARS['com_itemid']) ? intval($HTTP_GET_VARS['com_itemid']) : 0;
if ($com_itemid > 0) {
// Get link title
$sql = "SELECT title FROM " . $xoopsDB->prefix('weblog') . " WHERE blog_id=" . $com_itemid . "";
$result = $xoopsDB->query($sql);
$row = $xoopsDB->fetchArray($result);
$com_replytitle = $row['title'];