diff --git a/module/VuFind/src/VuFind/Controller/AbstractBase.php b/module/VuFind/src/VuFind/Controller/AbstractBase.php
index f2d4167b93ae006319becd440aaa51f7ed4ec99f..0fde7735e0ea869b2a9e82120404571a75044b9c 100644
--- a/module/VuFind/src/VuFind/Controller/AbstractBase.php
+++ b/module/VuFind/src/VuFind/Controller/AbstractBase.php
@@ -67,6 +67,13 @@ class AbstractBase extends AbstractActionController
      */
     protected $accessDeniedBehavior = null;
 
+    /**
+     * Service manager
+     *
+     * @var ServiceLocatorInterface
+     */
+    protected $serviceLocator;
+
     /**
      * Constructor
      *
@@ -74,7 +81,7 @@ class AbstractBase extends AbstractActionController
      */
     public function __construct(ServiceLocatorInterface $sm)
     {
-        $this->setServiceLocator($sm);
+        $this->serviceLocator = $sm;
     }
 
     /**