Index: field_checkbox.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/flexinode/field_checkbox.inc,v
retrieving revision 1.7
diff -u -r1.7 field_checkbox.inc
--- field_checkbox.inc	8 Jul 2004 21:01:38 -0000	1.7
+++ field_checkbox.inc	22 Sep 2005 19:12:27 -0000
@@ -38,7 +38,7 @@
 function flexinode_field_checkbox_search_clause($field, $edit) {
   $fieldname = 'flexinode_'. $field->field_id;
   if (isset($edit[$fieldname]) && $edit[$fieldname] != -1) {
-    return $fieldname .'.numeric_data = '. $edit[$fieldname];
+    return $fieldname .'.numeric_data = '.intval($edit[$fieldname]);
   }
 }
 
@@ -73,4 +73,4 @@
 
 /** @} End of addtogroup themeable */
 
-?>
\ No newline at end of file
+?>
Index: field_select.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/flexinode/field_select.inc,v
retrieving revision 1.9
diff -u -r1.9 field_select.inc
--- field_select.inc	8 Jul 2004 21:01:38 -0000	1.9
+++ field_select.inc	22 Sep 2005 19:12:27 -0000
@@ -51,7 +51,7 @@
 function flexinode_field_select_search_clause($field, $edit) {
   $fieldname = 'flexinode_'. $field->field_id;
   if (isset($edit[$fieldname]) && $edit[$fieldname] != -1) {
-    return $fieldname .'.numeric_data = '. $edit[$fieldname];
+    return $fieldname .'.numeric_data = '.intval($edit[$fieldname]);
   }
 }
 
@@ -97,4 +97,4 @@
 
 /** @} End of addtogroup themeable */
 
-?>
\ No newline at end of file
+?>
