Typo in arg name.
authorEmmanuel Lacour <elacour@easter-eggs.com>
Fri, 3 Jul 2009 09:40:47 +0000 (11:40 +0200)
committerEmmanuel Lacour <elacour@easter-eggs.com>
Fri, 3 Jul 2009 09:40:47 +0000 (11:40 +0200)
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');
     }