diff --git a/pg4wp/driver_pgsql.php b/pg4wp/driver_pgsql.php index 12dbf96..bc67d5e 100644 --- a/pg4wp/driver_pgsql.php +++ b/pg4wp/driver_pgsql.php @@ -525,7 +525,7 @@ $pattern = '/INSERT INTO (\w+)\s+\([ a-zA-Z_"]+/'; preg_match($pattern, $sql, $matches); $GLOBALS['pg4wp_ins_table'] = $matches[1]; - $match_list = split(' ', $matches[0]); + $match_list = explode(' ', $matches[0]); if( $GLOBALS['pg4wp_ins_table']) { $GLOBALS['pg4wp_ins_field'] = trim($match_list[3],' () ');