phpBMS

Changeset 760

Show
Ignore:
Timestamp:
01/14/10 21:26:55 (2 years ago)
Author:
brieb
Message:
  • typo - Don't ever try to spell message with three 's's. It takes hours to debug what is wrong.
Location:
trunk/phpbms/modules
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/api/include/apiclass.php

    r759 r760  
    456456 
    457457                switch($request["command"]){ 
    458                      
     458 
    459459                    case "ping": 
    460460                        //====================================================== 
    461                          
     461 
    462462                        $this->_addToResponse("message", "Everything is phpBMSy!"); 
    463                          
     463 
    464464                        break; 
    465465 
     
    605605                            $processor->timeFormat =  $this->options->timeFormat; 
    606606                        }//end if 
    607                          
     607 
    608608                        $errorMessage = ""; 
    609609                        if($this->options->useUuid){ 
     
    614614                                $errorMessage = "The `id` field must be set."; 
    615615                        }//end if 
    616                          
     616 
    617617                        if($errorMessage) 
    618618                            $this->sendError("Update failed from request number ".$i, $errorMessage); 
     
    843843 
    844844        $response["type"] = $type; 
    845         $response["messsage"] = $message; 
     845        $response["message"] = $message; 
    846846        if($extras) 
    847847            $response["extras"] = $extras; 
  • trunk/phpbms/modules/bms/include/clients.php

    r750 r760  
    541541                                }//end foreach 
    542542 
    543                                 $response["messsage"] = "Data does not contain the key(s): ".$response["message"]; 
     543                                $response["message"] = "Data does not contain the key(s): ".$response["message"]; 
    544544 
    545545                                return $response; 
     
    636636                                }//end foreach 
    637637 
    638                                 $response["messsage"] = "Data does not contain the key(s): ".$response["message"]; 
     638                                $response["message"] = "Data does not contain the key(s): ".$response["message"]; 
    639639 
    640640                                return $response; 
     
    12611261                                                                }//end if 
    12621262                                                        }//end if 
    1263                                                                  
     1263 
    12641264                                                }else 
    12651265                                                        $this->error .= '<li> incorrect amount of fields for line number '.$rowNum.'.</li>'; 
     
    12751275 
    12761276                                                        $theuuid = getUuid($this->table->db, "tbld:6d290174-8b73-e199-fe6c-bcf3d4b61083", (int) $theid); 
    1277                                                          
     1277 
    12781278                                                        //If it is a sugarcrm import, insert the shipping address as well 
    12791279                                                        $addressVerify = array(); 
     
    14321432 
    14331433                function displayTransaction($recordsArray, $fieldsArray){ 
    1434                          
     1434 
    14351435                        if(count($recordsArray) && count($fieldsArray)){ 
    14361436 
Scanned by Orvant Copyright © 2010 Kreotek, LLC. All Rights reserved.