1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 23:54:06 +02:00

Flextype Core: Entries - code fixes according Scrutinizer Tests.

This commit is contained in:
Awilum
2019-02-01 18:34:24 +03:00
parent fbf726b45e
commit a35fa15cb8

View File

@@ -335,6 +335,9 @@ class Entries
*/
public static function processEntry(string $file_path, bool $raw = false, bool $ignore_content = false)
{
// Init Entry
$entry = '';
// Get entry from file
if ($entry_content = Filesystem::read($file_path)) {
$entry = $entry_content;