{@ if ($mi->category_count == ''): if ($grant->manager): $category_count = true; else: $category_count = false; endif; elseif ($mi->category_count == 'y'): $category_count = true; else: $category_count = false; endif; }