diff --git a/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/buildNotes.php b/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/buildNotes.php
index 44f59ca04c95d5dda8110da360ca1be0b7ebf40f..ee71585cfff92151105104e2af8dc2cef3e0dc00 100644
--- a/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/buildNotes.php
+++ b/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/buildNotes.php
@@ -38,7 +38,7 @@
                         $hasNotes = true;
                 }
         }
-        aDirectory.closedir();
+	$aDirectory.closedir();
         if (!$hasNotes) {
                 echo "<br>There are no build notes for this build.";
         }