X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fstyle.php;h=5fada9dd4802dc51d0e19aa17aebdbf6e4deea46;hb=1e84411e84756c3aa267fa0dfeb0003aafa72db2;hp=7570ae0e5774b13ba52de1b78f39921ffea624ef;hpb=57695d48b41b5dba9a4ec1e97b531ff6590d8845;p=friendica.git diff --git a/view/theme/frio/style.php b/view/theme/frio/style.php index 7570ae0e57..5fada9dd48 100644 --- a/view/theme/frio/style.php +++ b/view/theme/frio/style.php @@ -2,9 +2,9 @@ /** * @file view/theme/frio/style.php */ + use Friendica\Core\Config; use Friendica\Core\PConfig; -use Friendica\Model\Profile; require_once 'view/theme/frio/php/PHPColors/Color.php'; @@ -14,7 +14,7 @@ $scheme_modified = 0; if ($a->module !== 'install') { // Get the UID of the profile owner. - $uid = Profile::getThemeUid(); + $uid = defaults($_REQUEST, 'puid', 0); if ($uid) { PConfig::load($uid, 'frio');