diff --git a/lib/Hook/hook.extends.class.php b/lib/Hook/hook.extends.class.php index fd8b7cb82..47e9e4348 100644 --- a/lib/Hook/hook.extends.class.php +++ b/lib/Hook/hook.extends.class.php @@ -87,6 +87,9 @@ Class GML_Hook extends Hook { foreach ($filters as $priority) { foreach ($priority as $filter) { + if( isset($args[0]) ){ + $args[0] = $value; + } $replace = $that->runAction($filter, $args); if( ! is_null($replace) ) {