WP-Filebase Download Manager
[resolved] [Plugin: WP-Filebase] Bug in wpfb-ajax.php (2 posts)

  1. Remco Tolsma
    Posted 4 years ago #

    I found a bug in wpfb-ajax.php on line 35.

    $cats = WPFB_Category::GetCats("WHERE cat_exclude_browser = 0 AND cat_parent = $parent_id");

    The 'cat_exclude_browser' comparison with 0 is incorrect, beacuse the 'cat_exclude_browser' is of the type ENUM('0','1'). You should add single quotes around the 0.

    $cats = WPFB_Category::GetCats("WHERE cat_exclude_browser = '0' AND cat_parent = $parent_id");


  2. Fabian
    Plugin Author

    Posted 4 years ago #

    Thanks for the report, will be fixed in 0.2.3.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Filebase Download Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic