function bb2_db_num_rows in Bad Behavior 6.2
Same name and namespace in other branches
- 5.2 badbehavior.module \bb2_db_num_rows()
- 6 badbehavior.module \bb2_db_num_rows()
File
- ./
badbehavior.module, line 142 - Integrates Bad Behavior with Drupal
Code
function bb2_db_num_rows($result) {
if ($result != FALSE) {
return count($result);
}
return 0;
}