diff --git a/phalcon/Assets/Manager.zep b/phalcon/Assets/Manager.zep index 939172b3785..4707bc5194d 100644 --- a/phalcon/Assets/Manager.zep +++ b/phalcon/Assets/Manager.zep @@ -1008,7 +1008,7 @@ class Manager extends AbstractInjectionAware string type, string name ) -> string { - var helper, params, tag; + var helper, output, params, tag; let params = parameters; @@ -1061,6 +1061,13 @@ class Manager extends AbstractInjectionAware helper->__invoke(""); // no indentation helper->add(tag, params); - return (string) helper; + let output = (string) helper; + + /** + * This is because the helper no longer resets the store automatically + */ + helper->reset(); + + return output; } }