Changeset 760
- Timestamp:
- 01/14/10 21:26:55 (2 years ago)
- Location:
- trunk/phpbms/modules
- Files:
-
- 2 modified
-
api/include/apiclass.php (modified) (4 diffs)
-
bms/include/clients.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/api/include/apiclass.php
r759 r760 456 456 457 457 switch($request["command"]){ 458 458 459 459 case "ping": 460 460 //====================================================== 461 461 462 462 $this->_addToResponse("message", "Everything is phpBMSy!"); 463 463 464 464 break; 465 465 … … 605 605 $processor->timeFormat = $this->options->timeFormat; 606 606 }//end if 607 607 608 608 $errorMessage = ""; 609 609 if($this->options->useUuid){ … … 614 614 $errorMessage = "The `id` field must be set."; 615 615 }//end if 616 616 617 617 if($errorMessage) 618 618 $this->sendError("Update failed from request number ".$i, $errorMessage); … … 843 843 844 844 $response["type"] = $type; 845 $response["mess sage"] = $message;845 $response["message"] = $message; 846 846 if($extras) 847 847 $response["extras"] = $extras; -
trunk/phpbms/modules/bms/include/clients.php
r750 r760 541 541 }//end foreach 542 542 543 $response["mess sage"] = "Data does not contain the key(s): ".$response["message"];543 $response["message"] = "Data does not contain the key(s): ".$response["message"]; 544 544 545 545 return $response; … … 636 636 }//end foreach 637 637 638 $response["mess sage"] = "Data does not contain the key(s): ".$response["message"];638 $response["message"] = "Data does not contain the key(s): ".$response["message"]; 639 639 640 640 return $response; … … 1261 1261 }//end if 1262 1262 }//end if 1263 1263 1264 1264 }else 1265 1265 $this->error .= '<li> incorrect amount of fields for line number '.$rowNum.'.</li>'; … … 1275 1275 1276 1276 $theuuid = getUuid($this->table->db, "tbld:6d290174-8b73-e199-fe6c-bcf3d4b61083", (int) $theid); 1277 1277 1278 1278 //If it is a sugarcrm import, insert the shipping address as well 1279 1279 $addressVerify = array(); … … 1432 1432 1433 1433 function displayTransaction($recordsArray, $fieldsArray){ 1434 1434 1435 1435 if(count($recordsArray) && count($fieldsArray)){ 1436 1436