summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 292c154..1382073 100644
--- a/it.class
+++ b/it.class
@@ -314,7 +314,7 @@ static function toascii($text)
* @param $p['extended'] add modifier x (non signifcant whitespace)
* @return converted regex to use with preg
*/
-static function convertregex($pattern, $p = array())
+static function convertregex($pattern, $p = null)
{
if ($p['exec'])
it::fatal("Option exec to it::replace has been removed for security reasons");