From beb776cfd6b9b78d1f192d55e7e8bc311a0d00ea Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Wed, 24 Feb 2010 22:35:22 -0500 Subject: [PATCH] fix "PHP Warning: Call-time pass-by-reference has been deprecated" --- lib/authorizationplugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/authorizationplugin.php b/lib/authorizationplugin.php index 733b0c0656..07da9b2d12 100644 --- a/lib/authorizationplugin.php +++ b/lib/authorizationplugin.php @@ -85,7 +85,7 @@ abstract class AuthorizationPlugin extends Plugin } function onStartSetApiUser(&$user) { - return $this->onStartSetUser(&$user); + return $this->onStartSetUser($user); } function onStartHasRole($profile, $name, &$has_role) { -- 2.39.5