]> git.mxchange.org Git - friendica.git/blobdiff - mod/crepair.php
Replace x() by isset(), !empty() or defaults()
[friendica.git] / mod / crepair.php
index f9ba281d1338aa6dbc4d7f4e58483da4558cdb17..8623d3c4ac122d5b1695c1de3065024af39c89ff 100644 (file)
@@ -25,7 +25,7 @@ function crepair_init(App $a)
                $contact = DBA::selectFirst('contact', [], ['uid' => local_user(), 'id' => $a->argv[1]]);
        }
 
-       if (!x($a->page, 'aside')) {
+       if (empty($a->page['aside'])) {
                $a->page['aside'] = '';
        }