Index: trunk/ippScripts/scripts/detrend_process_exp.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_process_exp.pl	(revision 16308)
+++ trunk/ippScripts/scripts/detrend_process_exp.pl	(revision 16563)
@@ -194,5 +194,5 @@
 
     carp($msg);
-    if ($det_id and $exp_id and not $no_update) {
+    if (defined $det_id and defined $exp_id and not $no_update) {
 	my $command = "$dettool -addprocessedexp";
 	$command .= " -det_id $det_id";
