joomla/joomla-cms — pull request #5107 by Hackwar (2014-11-14 21:54:13+00:00)
Title: Fix for: Banners matched only by tags results in SQL error

The category table is falsely included/not included. Long story short, this fixes #5000 and is a better fix than #5098 See there for testing instructions.