]> git.mxchange.org Git - friendica-addons.git/commitdiff
Only some reformatting of the code.
authorMichael Vogel <icarus@dabo.de>
Wed, 4 Jul 2012 19:56:17 +0000 (21:56 +0200)
committerMichael Vogel <icarus@dabo.de>
Wed, 4 Jul 2012 19:56:17 +0000 (21:56 +0200)
privacy_image_cache/privacy_image_cache.php

index b7236d09d0bb249abd31598976412650ea77074f..49456ce87cd0bf8fcffdd62ffb0aa451ddc13a58 100644 (file)
@@ -111,8 +111,10 @@ function privacy_image_cache_is_local_image($url) {
  */
 function privacy_image_cache_img_cb($matches) {
        // following line changed per bug #431
-    if (privacy_image_cache_is_local_image($matches[2])) return $matches[1] . $matches[2] . $matches[3];
-    return $matches[1] . get_app()->get_baseurl() . "/privacy_image_cache/?url=" . escape_tags(addslashes(rawurlencode($matches[2]))) . $matches[3];
+       if (privacy_image_cache_is_local_image($matches[2]))
+               return $matches[1] . $matches[2] . $matches[3];
+
+       return $matches[1] . get_app()->get_baseurl() . "/privacy_image_cache/?url=" . escape_tags(addslashes(rawurlencode($matches[2]))) . $matches[3];
 }
 
 /**