]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/duepuntozero/style.php
attachment preview: mv some js functions from frio to the linkPreview to make linkPre...
[friendica.git] / view / theme / duepuntozero / style.php
index ff55f462f12649aeba346213302230ede911f751..a5810f2dc131cb06237fbe253b645c8867d970c1 100644 (file)
@@ -10,12 +10,12 @@ if (file_exists("$THEMEPATH/style.css")) {
        echo file_get_contents("$THEMEPATH/style.css");
 }
 
-$uid = Profile::getThemeUid();
+$uid = defaults($_REQUEST, 'puid', 0);
 
 $s_colorset = Config::get('duepuntozero', 'colorset');
 $colorset = PConfig::get($uid, 'duepuntozero', 'colorset');
 
-if (!x($colorset)) {
+if (empty($colorset)) {
        $colorset = $s_colorset;
 }