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:
parent
d8524de113
commit
77ae461fc6
@ -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')
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user