Browse Source

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 14 years ago
parent
commit
6f9fd41fa4
1 changed files with 1 additions and 1 deletions
  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)