Support » Plugin: WP-Filebase Download Manager » [Plugin: WP-Filebase] Bug in wpfb-ajax.php

  • Resolved Remco Tolsma


    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”);

Viewing 1 replies (of 1 total)
  • Plugin Author Fabian


    Thanks for the report, will be fixed in 0.2.3.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-Filebase] Bug in wpfb-ajax.php’ is closed to new replies.