1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +02:00

Pass user vars to shortcode vars

This commit is contained in:
Tijn Kuyper 2019-05-09 11:45:54 +02:00 committed by GitHub
parent 4f67a83b76
commit f67e2f1111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -311,6 +311,7 @@ function renderuser($uid, $mode = "verbose")
}
$user_shortcodes->setVars($user);
$user_shortcodes->setScVar('userProfile', $user);
e107::setRegistry('core/user/profile', $user);