#575 TextSearch with pages with " 0 " fails

Database
closed
8
2014-07-30
2007-09-10
Reini Urban
No

tokenizing a pagenamne into "0" fails internally because "0" is false.

lib\TextSearchQuery.php (In template 'browse' < 'body' < 'htmldump'):920 Error[0]:

Reproduce: Create a pagename "test 0 1" and do a TextSearch.

Attached patch fixes this.

Discussion

  • Reini Urban

    Reini Urban - 2007-09-11

    Logged In: YES
    user_id=13755
    Originator: YES

    Fix is in test

     
  • Marc-Etienne Vargenau

    • status: open --> closed
    • Group: --> Database
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks