Bug #3682 ยป cb.profilegallery.patch
| components/com_comprofiler/plugin/user/plug_cbprofilegallery/cb.profilegallery.php | ||
|---|---|---|
|
$user->cb_pgshortgreeting = cbUnEscapeSQL($cb_pgshortgreeting);
|
||
|
|
||
|
// Enable Gallery:
|
||
|
if ($tabparams["pgallowuserenable"]=="1" || $ui==2 || isModerator) {
|
||
|
if ($tabparams["pgallowuserenable"]=="1" || $ui==2 || $isModerator) {
|
||
|
$cb_pgenable = cbGetParam($_POST, "cb_pgenable", null);
|
||
|
if ($cb_pgenable) {
|
||
|
$user->cb_pgenable = $cb_pgenable;
|
||