Subversion Repositories computer_asset_manager_v1

Rev

Rev 102 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 102 Rev 112
Line 38... Line 38...
38
    */
38
    */
39
   function cleanUpDMIValue( $value ) {
39
   function cleanUpDMIValue( $value ) {
40
      $value = trim( $value );
40
      $value = trim( $value );
41
      switch (strtolower( $value )) {
41
      switch (strtolower( $value )) {
42
         case 'unknown':
42
         case 'unknown':
-
 
43
         case 'Default string' :
43
         case 'unspecified' :
44
         case 'unspecified' :
44
         case 'not available':
45
         case 'not available':
45
         case 'to be filled by o.e.m.':
46
         case 'to be filled by o.e.m.':
46
         case 'not specified': return '';
47
         case 'not specified': return '';
47
      }
48
      }