_sanitizeClob touches no instance variables
This commit is contained in:
parent
604c931875
commit
75d28ef423
1 changed files with 2 additions and 1 deletions
|
@ -839,10 +839,11 @@ class Database extends AbstractData
|
|||
* From: https://stackoverflow.com/questions/36200534/pdo-oci-into-a-clob-field
|
||||
*
|
||||
* @access public
|
||||
* @static
|
||||
* @param int|string|resource $value
|
||||
* @return int|string
|
||||
*/
|
||||
public function _sanitizeClob($value)
|
||||
public static function _sanitizeClob($value)
|
||||
{
|
||||
if (is_resource($value)) {
|
||||
$value = stream_get_contents($value);
|
||||
|
|
Loading…
Reference in a new issue