From 270a99176e62906e293e2280cc95303f8ca57b31 Mon Sep 17 00:00:00 2001 From: chriskl Date: Mon, 30 Jun 2003 02:14:03 +0000 Subject: [PATCH] change === to == to work with older versions of PHP --- tblexport.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tblexport.php b/tblexport.php index a821538b..22b5cc65 100644 --- a/tblexport.php +++ b/tblexport.php @@ -3,7 +3,7 @@ /** * Does an export to the screen or as a download * - * $Id: tblexport.php,v 1.6 2003/05/18 11:52:03 chriskl Exp $ + * $Id: tblexport.php,v 1.7 2003/06/30 02:14:03 chriskl Exp $ */ $extensions = array( @@ -53,10 +53,10 @@ // We add an extra escaping slash onto octal encoded characters $v = ereg_replace('\\\\([0-7]{3})', '\\\\\1', $v); if ($first) { - echo ($v === null) ? '\\N' : $v; + echo ($v == null) ? '\\N' : $v; $first = false; } - else echo "\t", ($v === null) ? '\\N' : $v; + else echo "\t", ($v == null) ? '\\N' : $v; } echo "\n"; $rs->moveNext(); -- 2.39.5