Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from Flynsarmy/master

Fix PHP warning in posts with no relations
  • Loading branch information...
commit 6b33ace579d198a3b485a7879726f89ccbdc835e 2 parents 34d8e2c + e0098a0
@nkuttler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  inc/frontend.php
View
2  inc/frontend.php
@@ -166,7 +166,7 @@ private function get_the_related( $id, $config = null ) {
$r .= $relatednone;
$r .= '</div>';
}
- return $r;
+ return isset($r) ? $r : '';
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.