]> git.mxchange.org Git - friendica-addons.git/blobdiff - convpath/convpath.php
Removing of PHP warnings
[friendica-addons.git] / convpath / convpath.php
index 9509369420fc4fbbcb5f18c0060dccd8c7587749..8deb46cf346cbc09c6a2e979f28b3476f8ed258f 100644 (file)
@@ -34,7 +34,8 @@ function convpath_page_header(&$a, &$o){
 
 function convpath_page_end(&$a, &$o){
        $o = convpath_convert($o);
-       $a->page['aside'] = convpath_convert($a->page['aside']);
+       if (isset($a->page['aside']))
+               $a->page['aside'] = convpath_convert($a->page['aside']);
 }
 
 function convpath_prepare_body_hook(&$a, &$o) {