RCS file: /cvs/drupal-contrib/contributions/modules/weight/weight.module,v
retrieving revision 1.12
diff -u -p -r1.12 weight.module
--- weight.module	18 Dec 2005 02:21:25 -0000	1.12
+++ weight.module	26 Mar 2006 14:51:59 -0000
@@ -102,7 +102,7 @@ function weight_nodeapi(&$node, $op) {
         //   so we invert the weight before saving...
         // if sticky box is checked, add 100 to weight
         // unweighted sticky nodes will have a value of 100
-        if($node->sticky) {
+        if($node->sticky > 0) {
           $node->sticky = (-1*$node->weight) + 100;
         }
         // unweighted non-sticky nodes will have a value of -100
