From 320c15194e75130c4291386912d978088c64e068 Mon Sep 17 00:00:00 2001
From: Mark Carver <mark.carver@me.com>
Date: Tue, 9 Jan 2018 21:27:24 -0600
Subject: [PATCH] Issue #2935546 by markcarver: Notice: Use of undefined
 constant REQUIREMENT_ERROR - assumed 'REQUIREMENT_ERROR' in
 advagg_install_fast_checks()

---
 advagg.module | 1 +
 1 file changed, 1 insertion(+)

diff --git a/advagg.module b/advagg.module
index 9eb0f38..ae4881f 100644
--- a/advagg.module
+++ b/advagg.module
@@ -6269,6 +6269,7 @@ function advagg_generate_advagg_filename_from_db($type) {
  * Display a message if there are requirement issues with AdvAgg.
  */
 function advagg_display_message_if_requirements_not_met() {
+  include_once DRUPAL_ROOT . '/includes/install.inc';
   module_load_include('install', 'advagg');
   $requirements = advagg_install_fast_checks();
   if (!empty($requirements)) {
-- 
2.15.1

