neptuo / is4wfw

PHP based CMS with multi domain support, virtual file system, library for team-sport fixtures and statistics, and many other features.
http://is4wfw.neptuo.com
Apache License 2.0
1 stars 0 forks source link

Default attribute value generates invalid code #464

Closed maraf closed 2 years ago

maraf commented 2 years ago
private function template_cehistory_getList_lGTgsb8zCl() {
    $cehistoryObject = $this->autolib('cehistory');
    if ($this->isTagProcessed('cehistory', 'list')) {
        return $cehistoryObject->getList(function(?ParsedTemplateConfig $config = null) { return $this->template_cehistory_getList_lGTgsb8zCl_body($config); }, $phpObject->getDefaultAttributeValue('cehistory', '*', 'name'), '', array('url' => $this->property_var_getProperty_pNCRCJZTyE()), '', array(), array(), $this->property_paging_getContainer_DsmxTav03j(), '');
    }
    else {
        $this->property_var_getProperty_pNCRCJZTyE();
        $this->property_paging_getContainer_DsmxTav03j();
        $this->template_cehistory_getList_lGTgsb8zCl_body(null);
    }
}

The $phpObject is undefined (as local variable).