Merge branch 'static_definition' of github.com:plainblack/webgui into static_definition

This commit is contained in:
JT Smith 2009-10-22 10:11:27 -05:00
commit fca4cfbbaf
2 changed files with 11 additions and 4 deletions

View file

@ -31,7 +31,7 @@ sub import {
if ( my $properties = $definition->{properties} ) {
my $table = $definition->{tableName};
for ( my $i = 1; $i < @{ $properties }; $i += 2) {
$properties->[$i]{tableName} = $table;
$properties->[$i]{tableName} ||= $table;
}
}