Index: trunk/psphot/src/psphotReadout.c
===================================================================
--- trunk/psphot/src/psphotReadout.c	(revision 33914)
+++ trunk/psphot/src/psphotReadout.c	(revision 33915)
@@ -185,7 +185,7 @@
 	// remove noise for subtracted objects (ie, return to normal noise level)
 	// NOTE: this needs to operate only on the OLD sources
-        bool footprintsUseUnsubtracted = psMetadataLookupBool(NULL, recipe, "FOOTPRINT_USE_UNSUBTRACTED");
-        // if footprintsUseUnsubtracted is true the noise was already subtracted in psphotFindDetections()
-        if (!footprintsUseUnsubtracted) {
+        bool footprintUseUnsubtracted = psMetadataLookupBool(NULL, recipe, "FOOTPRINT_USE_UNSUBTRACTED");
+        // Note: if footprintUseUnsubtracted is true the noise was already subtracted in psphotFindDetections()
+        if (!footprintUseUnsubtracted) {
 	    psphotSubNoise (config, view, filerule); // pass 1 (detections->allSources)
         }
