function validateId in Bynder 7
File
- includes/
bynder.utils.inc, line 127 - utility functions for the bynder module
Code
function validateId($str) {
if (isValid('id', $str)) {
return $str;
}
else {
error_log("Invalid ID: " . $str);
return false;
}
}