]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/style.php
Make style.php require query parameter puid for specific stylesheets
[friendica.git] / view / theme / frio / style.php
index 7570ae0e5774b13ba52de1b78f39921ffea624ef..d8bffa9c645c4ff048b0b329a2927f7e32d2d4e9 100644 (file)
@@ -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');