Commit 5392153ebd5b3a5702012ab60e8a59fb543c4de5

Authored by Conrad Vermeulen
1 parent c10a7de1

WSA-55

"Allow users to be able to update the 'creator', 'created date', and other system fields via the KTAPI and web services"
Updated.

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8103 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
ktapi/KTAPIDocument.inc.php
@@ -1146,7 +1146,7 @@ class KTAPI_Document extends KTAPI_FolderItem @@ -1146,7 +1146,7 @@ class KTAPI_Document extends KTAPI_FolderItem
1146 // just ignore 1146 // just ignore
1147 continue; 1147 continue;
1148 } 1148 }
1149 - switch($name) 1149 + switch(strtolower($name))
1150 { 1150 {
1151 case 'unique_oem_document_no': 1151 case 'unique_oem_document_no':
1152 $documents['oem_no'] = $value; 1152 $documents['oem_no'] = $value;