1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

Remove error message when 0 records returned.

This commit is contained in:
Cameron 2016-03-03 15:24:59 -08:00
parent d8524de113
commit 77ae461fc6
2 changed files with 7 additions and 1 deletions

View File

@ -4269,6 +4269,12 @@ return;
foreach($this->nodesToDisableSC as $node)
{
$value = $node->C14N();
if(empty($value))
{
continue;
}
$value = str_replace("
","\r",$value);
if($node->nodeName == 'pre')

View File

@ -865,7 +865,7 @@ class e107forum
FROM `#forum_thread`
WHERE thread_id = '.$id;
}
if($sql->gen($qry))
if($sql->gen($qry)!==false)
{
$tmp = $sql->fetch();
if($tmp)