Project

General

Profile

Bug #3682 ยป cb.profilegallery.patch

krileon, 11 September 2012 19:29

View differences:

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;
    (1-1/1)