Piotr Labudda 8 роки тому
батько
коміт
d6c9df6add
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      SE/se-lib/Route/ViewObject.php
  2. 1 1
      SE/se-lib/Route/ViewTableAjax.php

+ 1 - 1
SE/se-lib/Route/ViewObject.php

@@ -17,7 +17,7 @@ Lib::loadClass('Route_ViewTableAjax');
 
 
 class Route_ViewObject extends Route_ViewTableAjax {
 class Route_ViewObject extends Route_ViewTableAjax {
 
 
-	public function getTableAjaxWidget($acl) {
+	public function getTableAjaxWidget($acl, $backRefFilter = []) {
 		$syncUrl = Request::getPathUri() . 'index.php?_route=ViewObject&namespace=' . $acl->getNamespace();
 		$syncUrl = Request::getPathUri() . 'index.php?_route=ViewObject&namespace=' . $acl->getNamespace();
 		$tbl = new TableAjax($acl);
 		$tbl = new TableAjax($acl);
 		// $tbl->showProcesInitFiltr = true; // TODO: activate when ready
 		// $tbl->showProcesInitFiltr = true; // TODO: activate when ready

+ 1 - 1
SE/se-lib/Route/ViewTableAjax.php

@@ -15,7 +15,7 @@ Lib::loadClass('UserProfile');
 
 
 class Route_ViewTableAjax extends RouteBase {
 class Route_ViewTableAjax extends RouteBase {
 
 
-	public function getTableAjaxWidget($acl, $backRefFilter) {
+	public function getTableAjaxWidget($acl, $backRefFilter = []) {
 		$syncUrl = $this->getLink('', [ 'namespace' => $acl->getNamespace() ]);
 		$syncUrl = $this->getLink('', [ 'namespace' => $acl->getNamespace() ]);
 		$tbl = new TableAjax($acl);
 		$tbl = new TableAjax($acl);
 		$tbl->setRootUrl($syncUrl);
 		$tbl->setRootUrl($syncUrl);