From: Nathan V. <na...@th...> - 2000-12-29 22:55:23
|
We got bender running (yay!), broke it and now it's back. Anyway, there's a bug in the color editing section of admin.pl-- editing colors breaks everything. I think I've fixed it; below is a patch. I'm not 100% sure that I'm doing the right thing here (we should get the colors from the form, not the database, right?) but it works. I wasn't certain if the bug or patch pages on sourceforge were for bender or not... -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Nathan Vonnahme na...@th... senior web developer third sector technologies http://enteuxis.org/nathan http://thethirdsector.com ~~~~~~~~~~~~~~~~ global = useless ~~~~~~~~~~~~~~~~~ in admin.pl 477,479c477,478 < < if ($form->{colorpreview}) { < $colorblock = --- > > $colorblock = 481c480,481 < --- > # warn "\n\ncolorblock from form = $colorblock\n"; > if ($form->{colorpreview}) { 485,487d484 < < } else { < $colorblock = $slashdb->getBlock($form->{color_block}, 'block'); 495c492 < $title = getTitle('colorEdit-title'); --- > $title = getTitle('colorEdit-title'); |