phpBMS

Show
Ignore:
Timestamp:
12/31/09 16:28:12 (2 years ago)
Author:
nate
Message:
  • Removed unused function in bms/install/update.php
  • Fixed aritem relatedid update in generateuuids.php
  • Fixed sql statement in aritems.php
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/bms/install/update.php

    r547 r698  
    447447        }//end function v098UpdatePostingSession 
    448448 
    449         /** 
    450          * function v098UpdateProducts 
    451          * Updates the categoryid field from the category's id to uuid. 
    452          */ 
    453  
    454         function v098UpdateProducts() { 
    455  
    456                 $querystatement = " 
    457                         SELECT 
    458                                 `id`, 
    459                                 `uuid` 
    460                         FROM 
    461                                 `productcategories` 
    462                         "; 
    463  
    464                 $queryresult = $this->db->query($querystatement); 
    465  
    466                 while($therecord = $this->db->fetchArray($queryresult)){ 
    467  
    468                         $id = $therecord["id"]; 
    469                         $uuid = $therecord["uuid"]; 
    470  
    471                         $updatestatement = " 
    472                                 UPDATE 
    473                                         `products` 
    474                                 SET 
    475                                         `categoryid`='".$uuid."' 
    476                                 WHERE 
    477                                         `categoryid`='".$id."' 
    478                                 "; 
    479  
    480                         $this->db->query($updatestatement); 
    481  
    482                 }//end while 
    483  
    484         }//end method --v098UpdateProducts00 
    485  
    486449}//end class updateBMS 
    487450 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.