Fix function name typo
[civicrm-core.git] / CRM / Utils / Rule.php
index ada29634f103681acd754c6a7437286c99804876..e053e9e81c5fabeac2caf98e0933f75bfb519e72 100644 (file)
@@ -935,7 +935,7 @@ class CRM_Utils_Rule {
    * @param string $key Extension Key to check
    * @return bool
    */
-  public static function checkExtesnionKeyIsValid($key = NULL) {
+  public static function checkExtensionKeyIsValid($key = NULL) {
     if (!empty($key) && !preg_match('/^[0-9a-zA-Z._-]+$/', $key)) {
       return FALSE;
     }