diff options
Diffstat (limited to 'it_dbi.class')
| -rw-r--r-- | it_dbi.class | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/it_dbi.class b/it_dbi.class index b06a3ea..3620018 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -358,7 +358,7 @@ function _where($params)  			else if ($field == "LIMIT")  			{  				if ($value !== false) # only false no null; uninitialized values should not unintentionally omit LIMIT -					$stringquery .= " LIMIT " . (it::match('^[ ,\d]+$', $value) ?: it::error(['title' => "invalid LIMIT $value", 'body' => $params]) + 0); +					$stringquery .= " LIMIT " . (it::match('^[ ,\d]+$', $value) ?? it::error(['title' => "invalid LIMIT $value", 'body' => $params]) + 0);  			}  			else  			{ |