Skip to content

模板中url标签的错误 #14

@yuhengliang

Description

@yuhengliang

return '<?php echo url("' . $url . '","' . $vars . '",' . $suffix . ',' . $domain . ');?>';

会导致错误:
#0 [0]TypeError in helper.php line 501
url(): Argument #2 ($vars) must be of type array, string given, called in

应该改为:
return '<?php echo url("' . $url . '",' . $vars . ',' . $suffix . ',' . $domain . ');?>';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions