nette/nette — pull request #1105 by hrach (2013-05-17 10:15:43+00:00)
Title: Database: implemented correct support for empty array NOT oprator [Refs #667]

Removed old behavior, which could produce malformed SQL query.
Condition must have parentheses around all expressions with empty array.