mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Remove error message when 0 records returned.
This commit is contained in:
@@ -4269,6 +4269,12 @@ return;
|
|||||||
foreach($this->nodesToDisableSC as $node)
|
foreach($this->nodesToDisableSC as $node)
|
||||||
{
|
{
|
||||||
$value = $node->C14N();
|
$value = $node->C14N();
|
||||||
|
|
||||||
|
if(empty($value))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$value = str_replace("
","\r",$value);
|
$value = str_replace("
","\r",$value);
|
||||||
|
|
||||||
if($node->nodeName == 'pre')
|
if($node->nodeName == 'pre')
|
||||||
|
@@ -865,7 +865,7 @@ class e107forum
|
|||||||
FROM `#forum_thread`
|
FROM `#forum_thread`
|
||||||
WHERE thread_id = '.$id;
|
WHERE thread_id = '.$id;
|
||||||
}
|
}
|
||||||
if($sql->gen($qry))
|
if($sql->gen($qry)!==false)
|
||||||
{
|
{
|
||||||
$tmp = $sql->fetch();
|
$tmp = $sql->fetch();
|
||||||
if($tmp)
|
if($tmp)
|
||||||
|
Reference in New Issue
Block a user