From 0b0aab8669a2b926c9db7eb4cc7ed5fad42cd714 Mon Sep 17 00:00:00 2001
From: Jaap Jansma <jaap.jansma@civicoop.org>
Date: Wed, 27 Nov 2019 16:28:37 +0100
Subject: [PATCH] Update

---
 CRM/FormProcessor/Upgrader.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CRM/FormProcessor/Upgrader.php b/CRM/FormProcessor/Upgrader.php
index ee941c3..1cf675b 100644
--- a/CRM/FormProcessor/Upgrader.php
+++ b/CRM/FormProcessor/Upgrader.php
@@ -71,7 +71,7 @@ class CRM_FormProcessor_Upgrader extends CRM_FormProcessor_Upgrader_Base {
   public static function getUnmetDependencyErrorMessage($unmet) {
     switch ($unmet[0]) {
       case 'action-provider':
-        return ts('Form Processor was installed successfully, but you must also install and enable the <a href="%1">action-provider Extension</a> version %2 or newer.', array(1 => 'https://lab.civicrm.org/jaapjansma/action-provider', 2=>$unmet[1]));
+        return ts('Form Processor was installed successfully, but you must also install and enable the <a href="%1">action-provider Extension</a> version %2 or newer.', array(1 => 'https://lab.civicrm.org/extensions/action-provider', 2=>$unmet[1]));
     }
 
     CRM_Core_Error::fatal(ts('Unknown error key: %1', array(1 => $unmet)));
@@ -92,7 +92,7 @@ class CRM_FormProcessor_Upgrader extends CRM_FormProcessor_Upgrader_Base {
 
     $unmet = array();
     foreach($dependencies as $ext) {
-      if (!self::checkExtensionVersion($ext[0], '1.9')) {
+      if (!self::checkExtensionVersion($ext[0], $ext[1])) {
         array_push($unmet, $ext);
       }
     }
-- 
GitLab