Author byline error on empty file #25

Closed
opened 2022-08-09 14:00:23 -04:00 by 20xd6 · 1 comment
Owner

If the author file doesn't contain an author name the script will fail with:

Warning: fread(): Length parameter must be greater than 0 in /path/to/common/php/article.php on line 27

If the file is empty it should stop execution.

If the `author` file doesn't contain an author name the script will fail with: ``` Warning: fread(): Length parameter must be greater than 0 in /path/to/common/php/article.php on line 27 ``` If the file is empty it should stop execution.
20xd6 added this to the 1.0 Release milestone 2022-08-09 14:00:23 -04:00
20xd6 added the
bug
label 2022-08-09 14:00:23 -04:00
Author
Owner

PR #27 closes this issue.

PR #27 closes this issue.
20xd6 closed this issue 2022-08-09 14:16:20 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 20xd6/simple_blog#25
No description provided.