mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Remove error message when 0 records returned.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user