added syntax for not-empty check in filter, eg. email=!''

This commit is contained in:
Ralf Becker 2003-11-03 00:25:21 +00:00
parent c87bf2cf18
commit 6486998106

View File

@ -380,6 +380,10 @@
{
$filterlist .= $name."=".$value.";";
}
elseif ($value == "!''") // check for not empty
{
$filterlist .= $name."!='';";
}
else
{
$filterlist .= $name."='".$value."';";
@ -478,7 +482,7 @@
$fwhere = " WHERE last_mod > $lastmod ";
}
if ($DEBUG && $last_mod_filter && fwhere)
if ($DEBUG && $last_mod_filter && $fwhere)
{
echo "<br>DEBUG - last_mod_filter added to fwhere: $fwhere";
}