Skip to content

Commit 0029b76

Browse files
committed
replace "if" with "unless" in "Table.pm" on sub "create_colAttr"
1 parent 3b121c7 commit 0029b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CellBIS/SQL/Abstract/Table.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ sub create_colAttr {
274274
}
275275

276276
if (exists $attr->{is_null}) {
277-
$data .= 'NOT NULL ' if $attr->{is_null};
277+
$data .= 'NOT NULL ' unless $attr->{is_null};
278278
$data .= 'NULL ' if $attr->{is_null} == 1;
279279
}
280280
else {

0 commit comments

Comments
 (0)