mirror of
https://github.com/flextype/flextype.git
synced 2025-08-06 13:16:45 +02:00
feat(entries): macros functionality use debug instead of dump
This commit is contained in:
@@ -97,7 +97,7 @@ class Entries
|
||||
private function removeCollectionsMacros($data)
|
||||
{
|
||||
if (is_array($data)) {
|
||||
if (boolval(arrays($data)->get('macros.dump', registry()->get('flextype.settings.entries.macros.dump'))) === false) {
|
||||
if (boolval(arrays($data)->get('macros.debug', registry()->get('flextype.settings.entries.macros.debug'))) === false) {
|
||||
unset($data['macros']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user