Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模板中url标签的错误 #14

Open
yuhengliang opened this issue Sep 30, 2021 · 0 comments
Open

模板中url标签的错误 #14

yuhengliang opened this issue Sep 30, 2021 · 0 comments

Comments

@yuhengliang
Copy link

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 . ');?>';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant