Skip to content
Permalink
Browse files
[plugin:tracker] fix enbug of @0899386
  • Loading branch information
nao-pon committed Jun 27, 2013
1 parent f22a0ad commit 60aa78589cebc602928f2ab1111fb9dda1873c57
Showing with 2 additions and 2 deletions.
  1. +2 −2 xoops_trust_path/modules/xpwiki/plugin/tracker.inc.php
@@ -565,7 +565,7 @@ function get_tag()

function get_key($str)
{
return ($str == '') ? 'IS NULL' : 'IS NOT NULL';
return ($str === '') ? 'IS NULL' : 'IS NOT NULL';
}

function format_value($str)
@@ -579,7 +579,7 @@ function format_value($str)

function get_style($str)
{
$key = $this->get_key(! $this->is_null_style($str));
$key = $this->get_key($this->is_null_style($str)? '' : $str);
return isset($this->styles[$key]) ? $this->styles[$key] : '%s';
}

0 comments on commit 60aa785

Please sign in to comment.