When "Show on only the listed pages" is selected on the box-configuration page, but no path's or wildcards are inserted in the pages-textarea, the box will be visible on all pages.
In block.module (function block_list()) there's a test "Match path if necessary". This test returns false when no pages are entered. As a result, the variable $page_match will always be true when the pages-textarea is empty.
This can be resolved by changing r 470:
changed:
$page_match = TRUE;
to:
$page_match = ($block->visibility == 0? TRUE : FALSE);
Comments
Comment #1
mr.baileysDuplicate of #255141: Blocks are incorrectly shown when "pages" is left blank.