I just cut and pasted your code to this page and it seems to be working properly:
http://www.boltwire.com/index.php?p=test.toc As for the change to &&, you might try the latest and see if it is still broken. If you are using a standard BOLTF function, I think I have those converted back to && before getting sent off to your custom code. The other option is to add a line like $value = str_replace('&&', '&&', $value); Near the beginning of your custom code. That should get you back to original behavior. Cheers, Dan On Sun, Jan 10, 2010 at 10:59 AM, DrunkenMonk <[email protected]> wrote: > I use: > > [(search group={toc} include=styrelsen.kassör,styrelsen.print > fmt="toc")] > > and while styrelsen.print is handled corretly, styrelsen.kassör is > included twice when the page is in styrelsen*. > The problem seems to lie in the include list, ei in the core, and not > the {toc} or template.toc. > > My theory is that this line: > > if (is_array($outarray)) $outarray = array_merge($outarray, explode > (',', $args['include'])); > > is reached with $outarray and $args['include'] in different encodings. > $outarray is probably still escaped, would be my guess. > If i'm right, BOLTlistpages returns escaped filenames and not utf8, > which is bad. The line > $list[] = $file; > replaced with: > $list[] = url2utf($file); > Would, to me, make sense. > > I'm using an old version of boltwire, since I had problems with my > mysql '&' when I tried to upgrade and couldnt be bothered to rewrite > everything with 'AND's, so I could of course be moaning over nothing. > > -- > You received this message because you are subscribed to the Google Groups > "BoltWire" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/boltwire?hl=en. > > > > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.
