]> git.mxchange.org Git - friendica.git/blobdiff - mod/common.php
Replace x() by isset(), !empty() or defaults()
[friendica.git] / mod / common.php
index b335e296dbee1ec1d3250e16b2f159812723bd12..c88d6ee77c2594aa57ed1707b30fc26160652a06 100644 (file)
@@ -55,7 +55,7 @@ function common_content(App $a)
                                'url'    => 'contact/' . $cid
                        ]);
 
-                       if (!x($a->page, 'aside')) {
+                       if (empty($a->page['aside'])) {
                                $a->page['aside'] = '';
                        }
                        $a->page['aside'] .= $vcard_widget;