From f84915fbde3aeaad125bb48821bbb5f70a68224b Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Fri, 22 Mar 2013 20:15:39 +0000
Subject: [PATCH] Poprawka błędnego zapytania przy wyszukiwaniu książek z MATCH ... AGAINST ...

---
 includes/db2.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/includes/db2.php b/includes/db2.php
index 0b9c5cf..890879d 100644
--- a/includes/db2.php
+++ b/includes/db2.php
@@ -115,7 +115,7 @@
 				$value = NULL;
 			}
 			if(is_null($value)) {
-				$a[] = '`'.$key.'` IS NULL';
+				$a[] = '`'.$key.'`=NULL';
 			}
 			else
 			{

--
Gitblit v1.9.1