Authtypecode return an warning even if subfield is ignored

this patch just add a condition to the sql request to return a warning
only if authtypecode is not in an ignored subfield.
This commit is contained in:
Nahuel ANGELINETTI 2009-01-22 11:51:39 +01:00 committed by Henri-Damien LAURENT
parent 98923d29d8
commit 5aad8d7591
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ $sth = $dbh->prepare("SELECT frameworkcode, frameworktext, tagfield, tagsubfield
LEFT JOIN biblio_framework USING (frameworkcode)
WHERE authtypecode IS NOT NULL
AND authtypecode <> ''
AND tab > '-1'
AND authtypecode NOT IN (SELECT authtypecode FROM auth_types)
ORDER BY frameworkcode, tagfield, tagsubfield");
$sth->execute;