Quote:
Originally Posted by BirdOPrey5
good catch... I think I will us this just to make sure a db error in admincp can never happen...
Code:
if (defined('THIS_SCRIPT'))
{
global $phrasegroups;
$phrasegroups[] = 'bop5';
}
Since THIS_SCRIPT isn't defined in admin cp. :up:
|
Or you could use this:
Code:
global $phrasegroups;
if (!in_array('bop5', $phrasegroups))
{
$phrasegroups[] = 'bop5';
}