diff --git a/lib/dmllib.php b/lib/dmllib.php index b4a24780c57..6ac64105c24 100644 --- a/lib/dmllib.php +++ b/lib/dmllib.php @@ -1994,7 +1994,7 @@ function db_detect_lobs ($table, &$dataobject, &$clobs, &$blobs, $unset = false, /// If the field is CLOB, update its value to '@#CLOB#@' and store it in the $clobs array if (strtoupper($columns[strtolower($fieldname)]->type) == $clobdbtype) { /// Oracle optimization. CLOBs under 4000cc can be directly inserted (no need to apply 2-phases to them) - if ($db->dbtype = 'oci8po' && strlen($dataobject->$fieldname) < 4000) { + if ($db->dbtype == 'oci8po' && strlen($dataobject->$fieldname) < 4000) { continue; } $clobs[$fieldname] = $dataobject->$fieldname;