Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fix PHP warning in posts with no relations #1

merged 1 commit into from

2 participants

@nkuttler nkuttler merged commit 6b33ace into from

Thanks! Actually I think defining $r at the top (and renaming it to something meaningful) would probably better, but I'll got with your solution. Will probably be a few days until I can make a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 18, 2013
  1. @Flynsarmy
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  inc/frontend.php
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 : '';
Something went wrong with that request. Please try again.