#575 TextSearch with pages with " 0 " fails

open
Reini Urban
8
2012-10-11
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-10

     
    Attachments
  • Reini Urban
    Reini Urban
    2007-09-11

    Logged In: YES
    user_id=13755
    Originator: YES

    Fix is in test