Change references to numeric child/parent IDs which can now be text
[contractdashboard.git] / displayProcurementMethod.php
blob:a/displayProcurementMethod.php -> blob:b/displayProcurementMethod.php
--- a/displayProcurementMethod.php
+++ b/displayProcurementMethod.php
@@ -12,7 +12,7 @@
 include_header("Procurement Methods");

 $query = "SELECT SUM(value) as value, procurementMethod

 FROM `contractnotice`

-WHERE childCN = 0

+WHERE childCN is null

 GROUP BY procurementMethod ";

 

 $result = mysql_query($query);