Permalink
Browse files

Based on patch from Marshall.

  • Loading branch information...
1 parent ab2df74 commit d2ea4891ed203685369111c045a5bae9611c7218 @theory theory committed Jun 23, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Bric/App/Callback/Profile/Story.pm
@@ -489,7 +489,7 @@ sub delete_cat : Callback {
my (@to_delete, @to_log);
my $primary = $self->params->{"$widget|primary_cat"}
- || $story->get_primary_category;
+ || $story->get_primary_oc_id;
foreach my $cid (@$cat_ids) {
my $cat = Bric::Biz::Category->lookup({ id => $cid });
if ($cid == $primary) {

0 comments on commit d2ea489

Please sign in to comment.