1
0
Fork 0

Make style.php require query parameter puid for specific stylesheets

This commit is contained in:
Hypolite Petovan 2019-01-12 02:21:12 -05:00
commit 1bdb3c916a
4 changed files with 4 additions and 4 deletions

View 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');