Index: trunk/psphot/src/psphotFindDetections.c
===================================================================
--- trunk/psphot/src/psphotFindDetections.c	(revision 34492)
+++ trunk/psphot/src/psphotFindDetections.c	(revision 34493)
@@ -135,5 +135,5 @@
 	    // subtract the noise for all sources including satstars
 	    modified |= psphotAddOrSubNoiseReadout(config, view, filerule, index, recipe, false);
-            modified | psphotReplaceAllSourcesReadout (config, view, filerule, index, recipe, false);
+            modified |= psphotReplaceAllSourcesReadout (config, view, filerule, index, recipe, false);
 
 	    // add in the satstars
