Typo in arg name.
[manu/RT-Extension-MandatoryRequestor.git] / html / Callbacks / MandatoryRequestor / Ticket / Create.html / BeforeCreate
index 980693b..9a00746 100644 (file)
@@ -1,7 +1,7 @@
 <%INIT>
 my $ARGSRef = $ARGS{'ARGSRef'};
 if ( (!exists $$ARGSRef{'AddMoreAttach'}) and (defined($$ARGSRef{'id'}) and $$ARGSRef{'id'} eq 'new') ) {
-    if ( (!$$ARGSRef{'Requestor'}) || ($$ARGSRef{'Requestor'} =~ /^[ \t]*$/) ) {
+    if ( (!$$ARGSRef{'Requestors'}) || ($$ARGSRef{'Requestors'} =~ /^[ \t]*$/) ) {
         $$skip_create = 1;
         push @{$results}, loc('Error: empty requestor');
     }