Changeset 760 for trunk/phpbms/modules/api/include/apiclass.php
- Timestamp:
- 01/14/10 21:26:55 (2 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/api/include/apiclass.php (modified) (4 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;