]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/common.lib.php
Improved error.mail_send text by adding MAIL_SMTP_DEBUG part.
[timetracker.git] / WEB-INF / lib / common.lib.php
index d1ad384f5b5741ed9886fb9cc0be4bbd9ac57d0b..43377103a294f0e7738dd01380b475c1721f2915 100644 (file)
@@ -319,7 +319,7 @@ function ttValidCondition($val, $emptyValid = true)
   if (stristr($val, '<script>') || stristr($val, '<script '))
     return false;
 
-  if (!preg_match("/^count\s?(=|[<>]=?)\s?\d+$/", $val))
+  if (!preg_match("/^count\s?(=|[<>]=?|<>)\s?\d+$/", $val))
     return false;
 
   return true;