Merged in bugfix/PMCORE-3989 (pull request #8577)
PMCORE-3989 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
2
thirdparty/pear/DB.php
vendored
2
thirdparty/pear/DB.php
vendored
@@ -465,7 +465,7 @@ class DB
|
|||||||
*
|
*
|
||||||
* @return boolean whether $query is a data manipulation query
|
* @return boolean whether $query is a data manipulation query
|
||||||
*/
|
*/
|
||||||
function isManip($query)
|
public static function isManip($query)
|
||||||
{
|
{
|
||||||
$manips = 'INSERT|UPDATE|DELETE|LOAD DATA|'.'REPLACE|CREATE|DROP|'.
|
$manips = 'INSERT|UPDATE|DELETE|LOAD DATA|'.'REPLACE|CREATE|DROP|'.
|
||||||
'ALTER|GRANT|REVOKE|'.'LOCK|UNLOCK';
|
'ALTER|GRANT|REVOKE|'.'LOCK|UNLOCK';
|
||||||
|
|||||||
Reference in New Issue
Block a user