diff --git a/Civi/FormProcessor/Type/CampaignType.php b/Civi/FormProcessor/Type/CampaignType.php
index 31913a1a7cb8765de0ed5ad165499c92f953aadc..6ba95f31c10067bb4be02a2a32c5e0cf0e25d0c7 100644
--- a/Civi/FormProcessor/Type/CampaignType.php
+++ b/Civi/FormProcessor/Type/CampaignType.php
@@ -4,7 +4,7 @@
  * @author Jaap Jansma (CiviCooP) <jaap.jansma@civicoop.org>
  * @license http://www.gnu.org/licenses/agpl-3.0.html
  */
- 
+
  namespace Civi\FormProcessor\Type;
 
  use \Civi\FormProcessor\Config\Specification;
@@ -13,7 +13,7 @@
  use \Civi\FormProcessor\Type\OptionListInterface;
 
  use \CRM_FormProcessor_ExtensionUtil as E;
- 
+
  class CampaignType extends AbstractType implements OptionListInterface {
 
    /**
@@ -24,10 +24,10 @@
    public function getConfigurationSpecification() {
      return new SpecificationBag(array());
    }
-   
-     
+
+
   public function validateValue($value, $allValues=array()) {
-    $options = $this->getOptions();
+    $options = $this->getOptions($allValues);
 
     if (!is_array($value)) {
       if (\CRM_Utils_Type::validate($value, 'Integer', FALSE) === NULL) {
@@ -41,14 +41,14 @@
     }
     return true;
   }
-  
+
   /**
    * Returns the type number from CRM_Utils_Type
    */
   public function getCrmType() {
     return \CRM_Utils_Type::T_INT;
   }
-  
+
   public function getOptions($params) {
     static $return;
     if ($return) {
@@ -61,5 +61,5 @@
     }
     return $return;
   }
-   
- }
\ No newline at end of file
+
+ }