Vergleich inc/class_plugins.php - 1.8.0 - 1.8.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 106Zeile 106
	 * Run the hooks that have plugins.
*
* @param string $hook The name of the hook that is run.

	 * Run the hooks that have plugins.
*
* @param string $hook The name of the hook that is run.

	 * @param string $arguments The argument for the hook that is run. The passed value MUST be a variable
* @return string The arguments for the hook.

	 * @param mixed $arguments The argument for the hook that is run. The passed value MUST be a variable
* @return mixed The arguments for the hook.

	 */
function run_hooks($hook, &$arguments="")
{

	 */
function run_hooks($hook, &$arguments="")
{

Zeile 130Zeile 130

if(array_key_exists('class_method', $hook))
{


if(array_key_exists('class_method', $hook))
{

						$return_args = call_user_func($hook['class_method'], $arguments);

						$return_args = call_user_func_array($hook['class_method'], array(&$arguments));

					}
else
{

					}
else
{