1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-12 08:04:05 +02:00

Flextype Core: Entries - method create() - improvements.

This commit is contained in:
Awilum
2019-02-13 23:01:26 +03:00
parent aff6a06447
commit 64d60db6bd

View File

@@ -445,8 +445,9 @@ class Entries
// Check if new entry file exists
if (!Filesystem::has($entry_file)) {
return Filesystem::write($entry_file, YamlParser::encode($data));
} else {
return false;
}
} else {
return false;
}