]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/style.php
Added string creation
[friendica.git] / view / theme / frio / style.php
index 7570ae0e5774b13ba52de1b78f39921ffea624ef..5fada9dd4802dc51d0e19aa17aebdbf6e4deea46 100644 (file)
@@ -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');