-
-
Notifications
You must be signed in to change notification settings - Fork 714
Open
Description
with smarty 4 php function time() can be used in templates and does not display any warning
{$duration = date(time()) - $uptimeLastActiv}
since it's not working anymore with smarty 5, I expected a warning to be display like:
PHP Deprecated: Using unregistered function "time" in a template is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier.
to allow developers to change their template before migrating to smarty 5
Metadata
Metadata
Assignees
Labels
No labels