Skip to content

Commit

Permalink
Added subsection to section_subsections when saving.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon 'CowboyNeal' Pater committed Aug 12, 2003
1 parent 4731732 commit 0c99c2d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Slash/DB/MySQL/MySQL.pm
Expand Up @@ -2094,6 +2094,14 @@ sub createSubSection {
title => $subsection,
artcount => $artcount || 0,
});

my $ssid = $self->sqlSelect('id','subsections',
"title='$subsection'");

$self->sqlInsert('section_subsections', {
section => $section,
subsection => $ssid,
});
}

########################################################
Expand Down

0 comments on commit 0c99c2d

Please sign in to comment.