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

Hooks: $this->resprints not fully implemented #5184

Closed
lrq3000 opened this issue May 10, 2016 · 1 comment
Closed

Hooks: $this->resprints not fully implemented #5184

lrq3000 opened this issue May 10, 2016 · 1 comment

Comments

@lrq3000
Copy link
Contributor

lrq3000 commented May 10, 2016

According to the wiki, 3rd-party modules relying on hooks to print things should now store their output in $this->resprints instead of printing directly.

Issue: in Dolibarr v3.9.1, "Third-party" module correctly implements this, but other core modules do not.

Workaround: Always print, but then the output is displayed twice in Third-party module...

Solution: provide in $object a boolean field indicating the support of $this->resprints?

@simnandez
Copy link
Member

This issue is on an old version. It is very likely that this problem is fixed in the new versions. If no, please re-open a issue

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

2 participants