From 8350e9a9713f7b960f992bd4ff10d861aec86460 Mon Sep 17 00:00:00 2001
From: Steven Hild <sjhild@wm.edu>
Date: Thu, 7 Mar 2013 14:36:07 -0500
Subject: [PATCH] Display dependency error for mcrypt in InstallController

---
 module/VuFind/src/VuFind/Controller/InstallController.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/module/VuFind/src/VuFind/Controller/InstallController.php b/module/VuFind/src/VuFind/Controller/InstallController.php
index a1b27369594..bb8a6cba058 100644
--- a/module/VuFind/src/VuFind/Controller/InstallController.php
+++ b/module/VuFind/src/VuFind/Controller/InstallController.php
@@ -295,6 +295,8 @@ class InstallController extends AbstractBase
                 ." For details on how to do this, see "
                 ."http://vufind.org/wiki/vufind2:installation_notes "
                 ."and look at the PHP installation instructions for your platform.";
+            $this->flashMessenger()->setNamespace('error')->addMessage($msg);
+            $problems++;
         }
 
         // Is the XSL library missing?
-- 
GitLab