Stop parsing if the author isn't found
This commit is contained in:
parent
5d7b4cc121
commit
470773721a
@ -31,9 +31,6 @@
|
||||
echo "<div class =\"byline\">\n"
|
||||
. read_md($byline_path)
|
||||
."</div><!--End byline div-->\n";
|
||||
} else {
|
||||
echo "<h2>No byline</h2>";
|
||||
echo "<p>$byline_path</p>";
|
||||
}
|
||||
fclose($author_name_raw);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user