Index: trunk/ippScripts/scripts/detrend_reject_exp.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_reject_exp.pl	(revision 16561)
+++ trunk/ippScripts/scripts/detrend_reject_exp.pl	(revision 16563)
@@ -335,5 +335,5 @@
 
     carp($msg);
-    if ($det_id and $iter and not $no_update) {
+    if (defined $det_id and defined $iter and not $no_update) {
 	my $command = "$dettool -adddetrunsummary";
 	$command .= " -det_id $det_id";
