Fix broken export

Argument 1 passed to Combodo\iTop\Controller\AjaxRenderController::ExportBuild() must be an instance of Combodo\iTop\Controller\ajax_page, instance of AjaxPage given,

Caused by merge of support/2.7 with 2 conflicts on the same line (347cbca5)
This commit is contained in:
Pierre Goiffon
2021-10-21 17:03:36 +02:00
parent 54db7243bf
commit 59d674d744

View File

@@ -105,12 +105,11 @@ class AjaxRenderController
/**
* @param \AjaxPage $oPage
*
* @param bool $bTokenOnly
*
* @throws \Exception
*/
public static function ExportBuild(ajax_page $oPage, $bTokenOnly)
public static function ExportBuild(AjaxPage $oPage, $bTokenOnly)
{
register_shutdown_function(function () {
$aErr = error_get_last();