File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ sub dbug {
145
145
$tables {pgfile_keyword }, '
146
146
pgfile_id int(15) DEFAULT 0 NOT NULL,
147
147
keyword_id int(15) DEFAULT 0 NOT NULL,
148
- KEY pgfile_keyword (keyword_id, pgfile_id),
148
+ PRIMARY KEY pgfile_keyword (keyword_id, pgfile_id),
149
149
KEY pgfile (pgfile_id)'
150
150
],
151
151
[
@@ -537,7 +537,7 @@ sub pgfiles {
537
537
);
538
538
if (not $DBsubject_id ) {
539
539
print " \n Invalid subject '$tags ->{DBsubject}' in $name \n " ;
540
- next ;
540
+ return ;
541
541
}
542
542
543
543
# DBchapter table
@@ -549,7 +549,7 @@ sub pgfiles {
549
549
);
550
550
if (not $DBchapter_id ) {
551
551
print " \n Invalid chapter '$tags ->{DBchapter}' in $name \n " ;
552
- next ;
552
+ return ;
553
553
}
554
554
555
555
# DBsection table
@@ -561,7 +561,7 @@ sub pgfiles {
561
561
);
562
562
if (!$aDBsection_id ) {
563
563
print " \n Invalid section '$tags ->{DBsection}' in $name \n " ;
564
- next ;
564
+ return ;
565
565
}
566
566
} else {
567
567
# Tags are not valid, error printed by validation part.
You can’t perform that action at this time.
0 commit comments