samdark/sitemap

A typo in a flush() function call

DarkSilence opened this issue · 1 comments

Since self::flush accepts an int as a parameter but a bool is provided here:

$this->flush(true);

It seems that it's a typo of some kind. Probably

$this->flush(0);

should be there.

Yes, looks valid. Thanks.