phpBMS

Show
Ignore:
Timestamp:
01/04/10 13:22:31 (2 years ago)
Author:
nate
Message:
  • Changed imports to incorporate changes made to tables.php (as a result of uuids).
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/bms/include/clients.php

    r706 r710  
    12491249                                                if($rowFieldNum == $fieldNum){ 
    12501250                                                        $verify = $this->table->verifyVariables($trimmedRowData); 
    1251                                                         if(!count($verify)) 
    1252                                                                 $theid = $this->table->insertRecord($trimmedRowData, NULL, true); 
     1251                                                        if(!count($verify)){ 
     1252                                                                $createdby = NULL; 
     1253                                                                $overrideID = true; 
     1254                                                                $replace = false; 
     1255                                                                if(!isset($trimmedRowData["uuid"])){ 
     1256                                                                        $useUuid = true; 
     1257                                                                        $thereturn = $this->table->insertRecord($trimmedRowData, $createdby, $overrideID, $replace, $useUuid); 
     1258                                                                        $theid = $thereturn["id"]; 
     1259                                                                }else{ 
     1260                                                                        $useUuid = false; 
     1261                                                                        $thereturn = $this->table->insertRecord($trimmedRowData, $createdby, $overrideID, $replace, $useUuid); 
     1262                                                                        $theid = $thereturn; 
     1263                                                                }//end if 
     1264                                                        }//end if 
     1265                                                                 
    12531266                                                }else 
    12541267                                                        $this->error .= '<li> incorrect amount of fields for line number '.$rowNum.'.</li>'; 
     
    13981411                                                        `addresses`.`phone` 
    13991412                                                FROM 
    1400                                                         ((clients INNER JOIN addresstorecord ON clients.id = addresstorecord.recordid AND addresstorecord.tabledefid=2 AND addresstorecord.primary=1) INNER JOIN addresses ON  addresstorecord.addressid = addresses.id) 
     1413                                                        ((clients INNER JOIN addresstorecord ON clients.uuid = addresstorecord.recordid AND addresstorecord.tabledefid='tbld:6d290174-8b73-e199-fe6c-bcf3d4b61083' AND addresstorecord.primary='1') INNER JOIN addresses ON  addresstorecord.addressid = addresses.uuid) 
    14011414                                                WHERE 
    14021415                                                        `clients`.`id` IN (".$inStatement.") 
     
    14181431 
    14191432                function displayTransaction($recordsArray, $fieldsArray){ 
    1420  
     1433                         
    14211434                        if(count($recordsArray) && count($fieldsArray)){ 
    14221435 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.