Sfoglia il codice sorgente

Ticket #4080 - Timeline: Minor fix.

AntonLV 4 anni fa
parent
commit
dedd4cfaa8
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      modules/boonex/timeline/classes/BxTimelineModule.php

+ 2 - 2
modules/boonex/timeline/classes/BxTimelineModule.php

@@ -1957,12 +1957,12 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
 
 
     public function serviceGetBlockMenuDb($aParams = array())
     public function serviceGetBlockMenuDb($aParams = array())
     {
     {
-        $aParams = $this->_prepareParams(array_merge($aParams, [
+        $aParams = $this->_prepareParams(array_merge([
             'name' => BX_TIMELINE_NAME_VIEWS_DB,
             'name' => BX_TIMELINE_NAME_VIEWS_DB,
             'view' => BX_TIMELINE_VIEW_TIMELINE,
             'view' => BX_TIMELINE_VIEW_TIMELINE,
             'type' => BX_TIMELINE_TYPE_FEED,
             'type' => BX_TIMELINE_TYPE_FEED,
             'owner_id' => $this->getProfileId()
             'owner_id' => $this->getProfileId()
-        ]));
+        ], $aParams));
 
 
         if(($sType = $this->_oConfig->getUserChoice('type')) !== false)
         if(($sType = $this->_oConfig->getUserChoice('type')) !== false)
             $aParams['type'] = $sType;
             $aParams['type'] = $sType;