diff --git a/blog/authors/index.php b/blog/authors/index.php index 7244688..2c2dba7 100644 --- a/blog/authors/index.php +++ b/blog/authors/index.php @@ -44,11 +44,11 @@ if (file_exists($dir) && is_dir($dir) ) { $link_title = str_replace('_',' ',$file);//Remove undersores and replace them with spaces $link_title = str_replace($_replace,'',$link_title); if (file_exists($file."/pfp.png")){ - $pfp_path = $file."/pfp.png"; + $pfp_path = "$file/pfp.png"; } else { $pfp_path = ""; } - echo("\n");//Output the result. + echo("\n");//Output the result. } } else { echo "";