removing redundant words
This commit is contained in:
parent
a147c770f8
commit
209e529a45
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ sub addChild {
|
|||
my $properties = shift;
|
||||
my @other = @_;
|
||||
if ($properties->{className} ne "WebGUI::Asset::Post") {
|
||||
$self->session->errorHandler->security("tried to add a ".$properties->{className}." to a ".$self->get("className"));
|
||||
$self->session->errorHandler->security("add a ".$properties->{className}." to a ".$self->get("className"));
|
||||
return undef;
|
||||
}
|
||||
return $self->SUPER::addChild($properties, @other);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ sub addChild {
|
|||
my $properties = shift;
|
||||
my @other = @_;
|
||||
if ($properties->{className} ne "WebGUI::Asset::Post::Thread") {
|
||||
$self->session->errorHandler->security("tried to add a ".$properties->{className}." to a ".$self->get("className"));
|
||||
$self->session->errorHandler->security("add a ".$properties->{className}." to a ".$self->get("className"));
|
||||
return undef;
|
||||
}
|
||||
return $self->SUPER::addChild($properties, @other);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue