X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Fstyle.php;h=4dfbe4e268f1a837c1b1f2adc15c4ee09c454fcd;hb=34bc0b0c97b7ba4a29d217c33227906e2ced6a73;hp=9b528a14bbc0e7b507672fae008895714452eb97;hpb=14fde5dc9b1915392601fb94efc6224c01f2b216;p=friendica.git diff --git a/view/theme/vier/style.php b/view/theme/vier/style.php index 9b528a14bb..4dfbe4e268 100644 --- a/view/theme/vier/style.php +++ b/view/theme/vier/style.php @@ -7,7 +7,7 @@ use Friendica\Core\Config; use Friendica\Core\PConfig; use Friendica\Model\Profile; -$uid = Profile::getThemeUid(); +$uid = defaults($_REQUEST, 'puid', 0); $style = PConfig::get($uid, 'vier', 'style'); @@ -31,7 +31,7 @@ foreach (['style', $style] as $file) { $modified = $stylemodified; } } else { - //TODO: use LOGGER_ERROR? + //TODO: use Logger::ERROR? Logger::log('Error: missing file: "' . $stylecssfile .'" (userid: '. $uid .')'); } }