Like this?
if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) {
$album_filter = ' ' . str_replace('p.', 'a.', $FORBIDDEN_SET);
//unused code {SaWey}
//$pic_filter = ' ' . $FORBIDDEN_SET;
}
$album_filter = '...
if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) {
$album_filter = ' ' . str_replace('p.', 'a.', $FORBIDDEN_SET);
//unused code {SaWey}
//$pic_filter = ' ' . $FORBIDDEN_SET;
}
$album_filter = '...