[QUOTE=ownedbycats;4439478]Question:
Code:
program:
cleaned_tags = 'whatever';
## Add anthology/omnibus/short story if applicable
if 'short-stories' && 'omnibus' in $#admintags
then cleaned_tags = 'Anthology' & if cleaned_tags then ', ' & cleaned_tags fi...
I think this line is your problem. The && makes the if always true because 'short-stories' is true. I think you want
Code:
if 'short-stories' in $#admintags && 'omnibus' in $#admintags