Index: /trunk/ippScripts/scripts/register_exp.pl
===================================================================
--- /trunk/ippScripts/scripts/register_exp.pl	(revision 20132)
+++ /trunk/ippScripts/scripts/register_exp.pl	(revision 20133)
@@ -112,5 +112,5 @@
 if (uc(&value_for_flag ($cmdflags, "-exp_name"))  eq "NULL") { &my_die ("exp_name  not found", $exp_id, $PS_EXIT_CONFIG_ERROR); }
 
-my $exp_type = &value_for_flag ("-exp_type");
+my $exp_type = &value_for_flag ($cmdflags, "-exp_type");
 if (uc($exp_type) eq "NULL") { &my_die ("exp_type  not found", $exp_id, $PS_EXIT_CONFIG_ERROR); }
 
