diff --git a/uc_product/uc_product.module b/uc_product/uc_product.module index 3650aad..ff55b65 100644 --- a/uc_product/uc_product.module +++ b/uc_product/uc_product.module @@ -1312,7 +1312,7 @@ function uc_product_type_names() { */ function uc_product_is_product($node) { // Load the node object if we received an integer as an argument. - if (is_int($node)) { + if (is_numeric($node)) { $node = node_load($node); }