M
Mike Mike
Hello, I have a rather simple case statement:
case event['event_title']
when ('Class GroupsPhoto Day' || 'Retake Day' || 'School Group' ||
'Photo' || 'Staff Group Photo' || 'Staff Group Photo' || 'Teams and
Clubs' || 'Group Photo Session')
blah...
end
the thing stored in event['event_title'] is a string and the values do
match my strings (ie should evaluate to true), but the case is never
evaluating to true.
any help appreciated, I could always use a big ugle if/elsif
case event['event_title']
when ('Class GroupsPhoto Day' || 'Retake Day' || 'School Group' ||
'Photo' || 'Staff Group Photo' || 'Staff Group Photo' || 'Teams and
Clubs' || 'Group Photo Session')
blah...
end
the thing stored in event['event_title'] is a string and the values do
match my strings (ie should evaluate to true), but the case is never
evaluating to true.
any help appreciated, I could always use a big ugle if/elsif