X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=convpath%2Fconvpath.php;h=0aaeb5f92e7dddd92a8f32c6c0240e5ef6edd17f;hb=802dbb5a440f7524364f092d67aaa757d2bdd339;hp=9509369420fc4fbbcb5f18c0060dccd8c7587749;hpb=81e05e62745ce8d18cb9d6fd9d80a7d5978b178e;p=friendica-addons.git diff --git a/convpath/convpath.php b/convpath/convpath.php index 95093694..0aaeb5f9 100644 --- a/convpath/convpath.php +++ b/convpath/convpath.php @@ -4,7 +4,7 @@ * Description: Converts all internal paths according to the current scheme (http or https) * Version: 1.0 * Author: Michael Vogel - * + * Status: Unsupported */ function convpath_install() { @@ -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) {