From bc710e890d99f522d4adb0fa9bff5b0504a5a036 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 28 Aug 2017 10:33:48 +0000
Subject: [PATCH] Fixes for PHP 7.0 compatibility

---
 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