Fix an inadequate explode delimiter
git-svn-id: https://plugins.svn.wordpress.org/postgresql-for-wordpress/trunk@226896 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
@@ -238,9 +238,9 @@
|
||||
if( preg_match('/^.{1}/us',$sql,$ar) != 1)
|
||||
$sql = utf8_encode($sql);
|
||||
|
||||
// This will avoid modifications to anything following 'VALUES('
|
||||
list($sql,$end) = explode( ' VALUES(', $sql, 2);
|
||||
$end = ' VALUES('.$end;
|
||||
// This will avoid modifications to anything following 'VALUES'
|
||||
list($sql,$end) = explode( ' VALUES', $sql, 2);
|
||||
$end = ' VALUES'.$end;
|
||||
} // INSERT
|
||||
elseif( 0 === strpos( $sql, 'DELETE' ))
|
||||
{
|
||||
|
Reference in New Issue
Block a user