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

missing hookmanager like others doc_generic*odt modules #32757

Merged

Conversation

rycks
Copy link
Contributor

@rycks rycks commented Jan 22, 2025

All doc_generic*odt modules files have hookmanager bloc like that:

		// Add odtgeneration hook
		if (!is_object($hookmanager)) {
			include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
			$hookmanager = new HookManager($this->db);
		}
		$hookmanager->initHooks(array('odtgeneration'));
		global $action;

but thoses 4 files does not ! then for example there is no hook call for odt generation files on that 4 cases !

@eldy eldy merged commit a404b80 into Dolibarr:18.0 Jan 22, 2025
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants