summaryrefslogtreecommitdiffstats
path: root/class/TableIterator.php
diff options
context:
space:
mode:
Diffstat (limited to 'class/TableIterator.php')
-rw-r--r--class/TableIterator.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/class/TableIterator.php b/class/TableIterator.php
index 831e845..4a4c1b6 100644
--- a/class/TableIterator.php
+++ b/class/TableIterator.php
@@ -212,6 +212,11 @@ class TableIterator implements Iterator
} else if (is_numeric($value)) {
// Integer
$ret .= "$name=$value";
+ } else if (($value[0]=='>' || $value[0]=='<')
+ && is_numeric(substr($value,1))) {
+ // > integer
+ $ret .= "$name $value";
+
} else if (strpos($value,'%')===false){
// String
$ret .= "$name='$value'";