Thank you very much for the help, but I'm not that verse in php and I'm not sure exactly what to replace, and what to replace it with.. The code you gave doesn't match what I have. Here is what I have in my module that I think you're referring to:
Quote:
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 ';
}
|
Thank you again.
Sy