diff options
author | Urban Müller | 2011-06-07 13:21:36 +0000 |
---|---|---|
committer | Urban Müller | 2011-06-07 13:21:36 +0000 |
commit | 2a893619df343f81213f0aad39cafbab104ecca7 (patch) | |
tree | ac768295efe1a94e46858db0ef4e80f00451c028 /it.class | |
parent | ff6b83fd1cd9f82e301f7443a3b67ba38d12f537 (diff) | |
download | itools-2a893619df343f81213f0aad39cafbab104ecca7.tar.gz itools-2a893619df343f81213f0aad39cafbab104ecca7.tar.bz2 itools-2a893619df343f81213f0aad39cafbab104ecca7.zip |
performance, fix value "0"
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -524,7 +524,7 @@ static function _exec_quotevalue($value, $errmsg = "") if (it::match('^-', $result)) it::fatal("leading - in value: " . $errmsg); - return it::match('^[-a-z0-9./_:,]+$', $result) ? $result : escapeshellarg($result); + return preg_match('#^[-a-z0-9./_:,]+$#', $result) ? $result : escapeshellarg($result); } |