- $shortCuts = array_merge($shortCuts, array(
- array('path' => 'civicrm/participant/add',
- 'query' => "reset=1&action=add&context=standalone",
- 'ref' => 'new-participant',
- 'title' => ts('Event Registration'),
- )));
+ $shortCut[] = array(
+ 'path' => 'civicrm/participant/add',
+ 'query' => "reset=1&action=add&context=standalone",
+ 'ref' => 'new-participant',
+ 'title' => ts('Event Registration'),
+ );