function _adsense_validate_group in Google AdSense integration 5
Same name and namespace in other branches
- 5.2 adsense.module \_adsense_validate_group()
2 calls to _adsense_validate_group()
File
- ./
adsense.module, line 1133
Code
function _adsense_validate_group($group = 1) {
if ($group < 1 || $group > ADSENSE_MAX_GROUPS) {
// Default to 1 if an invalid group is supplied
return 1;
}
return $group;
}