Merge pull request #24027 from totten/master552-status-footer-skipsort
[civicrm-core.git] / CRM / Core / Reference / OptionValue.php
index 9908be044b64f72c330acc07d159d247a9414cef..46413212392c93f1ba175eae9c06283a948ef5ba 100644 (file)
@@ -25,7 +25,7 @@ class CRM_Core_Reference_OptionValue extends CRM_Core_Reference_Basic {
    * @param string $targetKey
    * @param null $optionGroupName
    */
-  public function __construct($refTable, $refKey, $targetTable = NULL, $targetKey = 'id', $optionGroupName) {
+  public function __construct($refTable, $refKey, $targetTable, $targetKey, $optionGroupName) {
     parent::__construct($refTable, $refKey, $targetTable, $targetKey, NULL);
     $this->targetOptionGroupName = $optionGroupName;
   }