Explorar o código

Ticket #4080 - Timeline: Minor fix.

AntonLV %!s(int64=4) %!d(string=hai) anos
pai
achega
dedd4cfaa8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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())
     {
-        $aParams = $this->_prepareParams(array_merge($aParams, [
+        $aParams = $this->_prepareParams(array_merge([
             'name' => BX_TIMELINE_NAME_VIEWS_DB,
             'view' => BX_TIMELINE_VIEW_TIMELINE,
             'type' => BX_TIMELINE_TYPE_FEED,
             'owner_id' => $this->getProfileId()
-        ]));
+        ], $aParams));
 
         if(($sType = $this->_oConfig->getUserChoice('type')) !== false)
             $aParams['type'] = $sType;