Skip to content

array variable underscore symbol _ array.parent_id work like array.parentid  #1676

Description

@agrisvv

may someone knows, can't find in documentation..
do not work:

{{ arr.parent_id }} works: {{ arr.parentid }}

dump(arr):
-id: 19
-name: "Testa dokuments"
-parent_id: 0
-description: "Dokuments"
-version: 1

symfony error end with:
throw new Twig_Error_Runtime(sprintf('Method "%s" for object "%s" does not exist', $item, get_class($object)), -1, $this->getTemplateName());

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions