]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/OEmbed.php
Escape global namespaced get_app() calls
[friendica.git] / src / Content / OEmbed.php
index 243b2d949d9c3c2e1bc91ecdd384b3ebedbdf33b..6aa76a55ac124af15540286e26b2a7be1b0efe67 100644 (file)
@@ -56,7 +56,7 @@ class OEmbed
        {
                $embedurl = trim($embedurl, '\'"');
 
-               $a = get_app();
+               $a = \get_app();
 
                $cache_key = 'oembed:' . $a->videowidth . ':' . $embedurl;
 
@@ -364,7 +364,7 @@ class OEmbed
         */
        private static function iframe($src, $width, $height)
        {
-               $a = get_app();
+               $a = \get_app();
 
                if (!$height || strstr($height, '%')) {
                        $height = '200';