Quote:
Originally Posted by chrisrixon
My code looks exactly like sydude's, which isn't quite the same as the patch, but I guess I'm missing something :ermm:
|
Let the newly 'undimmed' enlighten you..!
The white code here is exactly like what you have. The changes to the code are in yellow (or red..):
//if ($privatecatids = fetch_private_categories())
//{
$privatecatids = explode(',', $privatecatids);
}
if ($vba_options['gallery_homeexcats'])
{
$vba_options['gallery_homeexcats'] = explode(',', $vba_options['gallery_homeexcats']);
if(empty($privatecatids))
{
$privatecatids = $vba_options['gallery_homeexcats'];
}
else
{
$privatecatids = array_merge($privatecatids, $vba_options['gallery_homeexcats']);
}
}
if (!empty($privatecatids))
{
//$privcatids = 'images.catid NOT IN(' . implode(',', $privatecatids) . ') AND ';
//}