mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 00:58:48 +02:00
JsonPage: Overload constructor to avoid passing a title
This commit is contained in:
@@ -514,7 +514,7 @@ try
|
||||
|
||||
// ui.linkswidget
|
||||
case 'doAddIndirectLinks':
|
||||
$oPage = new JsonPage('');
|
||||
$oPage = new JsonPage();
|
||||
AjaxRenderController::DoAddIndirectLinks($oPage, $sClass, $sFilter);
|
||||
break;
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -8,6 +8,14 @@ class JsonPage extends WebPage
|
||||
{
|
||||
protected $aData = [];
|
||||
|
||||
/**
|
||||
* JsonPage constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct('');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user