Added GRN voiding.
[fa-stable.git] / purchasing / includes / db / supp_trans_db.inc
index 5ed21c3a3f407416491a1fec3535ef169061ec86..e0bda878b065de5b51b3e4fd36a9ed16904e08df 100644 (file)
@@ -153,7 +153,7 @@ function post_void_supp_trans($type, $type_no)
                return true;
        }
 
-       if ($type == SUPPRECEIVE)
+       if ($type == ST_SUPPRECEIVE)
        {
                return void_grn($type_no);
        }