]> git.mxchange.org Git - friendica.git/blobdiff - mod/pretheme.php
Merge pull request #3344 from tobiasd/20170412-doc
[friendica.git] / mod / pretheme.php
index 52e63cef39dd0cbc0b5474d20eb39f2352bcf419..6dd6b781ac3837e25db989ea261f6650be9d739d 100644 (file)
@@ -2,15 +2,16 @@
 
 function pretheme_init(App $a) {
 
-       if ($_REQUEST['theme']) {
+       if($_REQUEST['theme']) {
                $theme = $_REQUEST['theme'];
                $info = get_theme_info($theme);
-               if ($info) {
+               if($info) {
                        // unfortunately there will be no translation for this string
                        $desc = $info['description'];
                        $version = $info['version'];
                        $credits = $info['credits'];
-               } else {
+               }
+               else {
                        $desc = '';
                        $version = '';
                        $credits = '';