From d02938dc94f6efbf1997fea57e3327e55f6b3266 Mon Sep 17 00:00:00 2001
From: Marco Fischer <mfischer@meeyulabs.de>
Date: Thu, 7 Jul 2016 14:32:16 +0200
Subject: [PATCH] Issue #2754665: Undefined property - css_fallbacks

---
 fontyourface.module | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fontyourface.module b/fontyourface.module
index 45c4249..47c6649 100644
--- a/fontyourface.module
+++ b/fontyourface.module
@@ -299,8 +299,8 @@ function fontyourface_font_css(FontInterface $font, FontDisplayInterface $font_s
   }
 
   if ($font_style !== NULL) {
-    if (!empty($font_style->css_fallbacks)) {
-      $family_list .= ', ' . $font_style->css_fallbacks;
+    if (!empty($font_style->getFallback())) {
+      $family_list .= ', ' . $font_style->getFallback();
     }
   }
 
-- 
2.8.1

