[Rt-commit] r13072 - in rt/branches/3.8-TESTING: bin
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jun 9 15:54:02 EDT 2008
Author: sartak
Date: Mon Jun 9 15:54:02 2008
New Revision: 13072
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/bin/rt.in
Log:
r61893 at onn: sartak | 2008-06-09 15:53:36 -0400
Prevent undef warning on "rt create"
Modified: rt/branches/3.8-TESTING/bin/rt.in
==============================================================================
--- rt/branches/3.8-TESTING/bin/rt.in (original)
+++ rt/branches/3.8-TESTING/bin/rt.in Mon Jun 9 15:54:02 2008
@@ -455,7 +455,7 @@
whine "What type of object do you want to create?";
$bad = 1;
}
- @objects = ("$type/new");
+ @objects = ("$type/new") if defined($type);
}
#return help($action, $type) if $bad;
return suggest_help($action, $type) if $bad;
More information about the Rt-commit
mailing list