Explorar o código

Bug fix: history of encrypted fields was not recorded properly.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1027 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=14) %!d(string=hai) anos
pai
achega
6f9fd41fa4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/cmdbobject.class.inc.php

+ 1 - 1
core/cmdbobject.class.inc.php

@@ -152,7 +152,7 @@ abstract class CMDBObject extends DBObject
 				{
 					$original = '';
 				}
-				$oMyChangeOp->Set("prevdata", $original);
+				$oMyChangeOp->Set("prevstring", $original);
 				$iId = $oMyChangeOp->DBInsertNoReload();
 			}
 			elseif ($oAttDef instanceOf AttributeBlob)