X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/93472f16bca36138fb4f227b262fe0a96a246776..25d6ffc5f17d0e016c2ebb5b51a222665834e9e4:/WEB-INF/lib/ttReportHelper.class.php diff --git a/WEB-INF/lib/ttReportHelper.class.php b/WEB-INF/lib/ttReportHelper.class.php index 14683e0b..e2bb8ddb 100644 --- a/WEB-INF/lib/ttReportHelper.class.php +++ b/WEB-INF/lib/ttReportHelper.class.php @@ -967,12 +967,15 @@ class ttReportHelper { $greater_or_equal = ttStartsWith($condition, '>='); if ($greater_or_equal) $condition = trim(str_replace('>=', '', $condition)); - $greater = ttStartsWith($condition, '>'); - if ($greater) $condition = trim(str_replace('>', '', $condition)); - $less_or_equal = ttStartsWith($condition, '<='); if ($less_or_equal) $condition = trim(str_replace('<=', '', $condition)); + $not_equal = ttStartsWith($condition, '<>'); + if ($not_equal) $condition = trim(str_replace('<>', '', $condition)); + + $greater = ttStartsWith($condition, '>'); + if ($greater) $condition = trim(str_replace('>', '', $condition)); + $less = ttStartsWith($condition, '<'); if ($less) $condition = trim(str_replace('<', '', $condition)); @@ -986,6 +989,7 @@ class ttReportHelper { if ($less && count($items) < $count_required) return true; if ($less_or_equal && count($items) <= $count_required) return true; if ($equal && count($items) == $count_required) return true; + if ($not_equal && count($items) <> $count_required) return true; return false; }