Menu

#67 zimbra.php: Fix ZLog error if searchfolderid is not defined

Release 67
closed
nobody
None
1
2017-02-21
2017-02-07
No

In GetMailboxSearchResults(), the ZLog:Write for SearchFolderId is at the wrong place, which results in an error "Undefined variable: searchfolderid (8)", if searchfolderid is not defined.

This affects Release 66 and earlier.

The (trivial) fix is attached: Move the ZLog:Write inside the if clause (it is already that way in the similar code block in GetDocumentLibrarySearchResults()).

1 Attachments

Discussion

  • LiverpoolFCfan

    LiverpoolFCfan - 2017-02-09

    Do you know how you generated a search with no folder specified?

     
  • LiverpoolFCfan

    LiverpoolFCfan - 2017-02-21

    Managed to reproduce this with an iOS 10 device. Fixed it. Thanks. The fix will be in Release 67.

     
  • LiverpoolFCfan

    LiverpoolFCfan - 2017-02-21
    • status: open --> closed
    • Group: unconfirmed --> Release 67
     
  • LiverpoolFCfan

    LiverpoolFCfan - 2017-02-21

    Trivial issue. Closing ahead of fix being released

     

Log in to post a comment.

MongoDB Logo MongoDB