You are here

function validateIdHash in Bynder 7

File

includes/bynder.utils.inc, line 147
utility functions for the bynder module

Code

function validateIdHash($str) {
  if (isValid('idHash', $str)) {
    return $str;
  }
  else {
    error_log("Invalid IDHash: " . $str);
    return false;
  }
}