diff --git a/GeneralApp/funcs.py b/GeneralApp/funcs.py index fd453d1..8a8ebd3 100644 --- a/GeneralApp/funcs.py +++ b/GeneralApp/funcs.py @@ -8,7 +8,7 @@ def get_logo_url(): def get_footer_contacts(): from .models import Option - options = Option.objects.filter(enable=True, opt_type='footer_contacts') + options = Option.objects.filter(enable=True, opt_type__in=['footer_email', 'footer_phone']) return options