Skip to content

Commit

Permalink
Joomla 5: Joomla Articles particle issue with Pagination #3239, Parti…
Browse files Browse the repository at this point in the history
…cle Joomla article - Joomla 5 - Error on previous/next button #3218
  • Loading branch information
hexplor committed Mar 29, 2024
1 parent b462eab commit b9d76f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions platforms/joomla/mod_gantry5_particle/helper.php
Expand Up @@ -74,9 +74,10 @@ public static function ajax($id, $props = [], $format = 'raw')

/** @var CMSApplication $app */
$app = Factory::getApplication();

// Trigger the onRenderModule event.
$app->triggerEvent('onRenderModule', ['module' => &$module, 'attribs' => &$attribs]);
if ($app->get('dispatcher')) {
$app->get('dispatcher')->triggerEvent('onRenderModule', ['module' => &$module, 'attribs' => &$attribs]);
}

$params = new Registry($module->params);
$params->set('ajax', $props);
Expand Down

0 comments on commit b9d76f3

Please sign in to comment.