Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix PHP warning in posts with no relations

  • Loading branch information...
commit e0098a0bf56ef9e320bec660d85f4488d06580d5 1 parent 34d8e2c
@Flynsarmy Flynsarmy 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.