bugfix [ 1025671 ] Crash on manage page tree.

bugfix [ 1024643 ] Unknown column error.
This commit is contained in:
Leendert Bottelberghs 2004-09-13 14:39:24 +00:00
parent 7555c8a2c1
commit f6ebc85040

View file

@ -198,7 +198,7 @@ sub _traversePageTree {
tie %wobject, 'Tie::CPHash'; tie %wobject, 'Tie::CPHash';
$spacer = '<img src="'.$session{config}{extrasURL}.'/spacer.gif" width=12>'; $spacer = '<img src="'.$session{config}{extrasURL}.'/spacer.gif" width=12>';
my $sth = WebGUI::SQL->read("select pageId,isSystem,urlizedTitle,title from page where parentId=".$parentId); my $sth = WebGUI::SQL->read("select pageId,isSystem,urlizedTitle,title from page where parentId=".quote($parentId));
while (my ($pageId,$isSystem,$url,$title) = $sth->array) { while (my ($pageId,$isSystem,$url,$title) = $sth->array) {
unless ($isSystem) { unless ($isSystem) {
$output .= $spacer x $options->{_depth} $output .= $spacer x $options->{_depth}